This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is testing libgomp outside of the build tree supported?


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
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]