On Wed, 5 Feb 2014, Jeff Law wrote:

> I suspect most folks have a site.exp they drop somewhere and explicitly call
> runtest --tool gcc ....

* Create site.exp (based on what GCC's makefiles do for build-tree 
testing).  Note that in some cases you may need different contents for 
different testsuite, especially runtime libraries.

* Set up PATH so the installed compilers are found, LD_LIBRARY_PATH so the 
installed shared libraries are found by the dynamic linker (or otherwise 
set up your board file appropriately for running newly compiled programs).

* runtest --srcdir /some/where --tool whatever

If you compare results of this for build-tree and installed testing, 
fixing differences is very useful.  (There are some known bugs for such 
differences; at least, bugs 23867, 25320, 58867.)

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to