This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Is testing libgomp outside of the build tree supported?
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: Matthias Klose <doko at ubuntu dot com>, Mike Stump <mikestump at comcast dot net>, Andrew Pinski <pinskia at gmail dot com>, Diego Novillo <dnovillo at google dot com>, Ian Lance Taylor <iant at google dot com>, Paul Pluzhnikov <ppluzhnikov at google dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Brooks Moses <bmoses at google dot com>
- Date: Thu, 6 Feb 2014 00:54:10 +0000
- Subject: Re: Is testing libgomp outside of the build tree supported?
- Authentication-results: sourceware.org; auth=none
- References: <ye6qzjm8gjkb dot fsf at elbrus2 dot mtv dot corp dot google dot com> <CAKOQZ8yoBd=UgtpHTZKvvEeau8Cs_Y7LRTYBMRzxXLZNHEL3MQ at mail dot gmail dot com> <CAD_=9DTrRA9i5Hh9zZh8HD8+oUg_rdZi47fmo7T7GxdTUqTF-Q at mail dot gmail dot com> <CA+=Sn1=AD79VQqWZtht73Gb48b-QOREAefK4Wf_o6tEKnMtKOg at mail dot gmail dot com> <Pine dot LNX dot 4 dot 64 dot 1402032352260 dot 3754 at digraph dot polyomino dot org dot uk> <4B2ACAB0-41BB-4AA6-BF04-21B51EC5E529 at comcast dot net> <52F2B6ED dot 2010403 at ubuntu dot com> <52F2BF12 dot 7020007 at redhat dot com>
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