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: Diego Novillo <dnovillo at google dot com>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: Mike Stump <mikestump at comcast dot net>, "Joseph S. Myers" <joseph at codesourcery dot com>, Andrew Pinski <pinskia at gmail 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 07:32:31 -0500
- 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>
On Wed, Feb 5, 2014 at 5:10 PM, Matthias Klose <doko@ubuntu.com> wrote:
> could somebody please shed some light on how this is done? It's nice that
> everybody has this kind of testing, but the only bit in the gcc sources itself
> seems to be a bit bit-rot and incomplete (contrib/test_installed).
Our case is similar to what Jeff and Joseph already described. I wrote
a script that splits the testsuite directories in equal-sized chunks
and ships them off to different machines. Each machine generates its
site.exp file, and executes runtest with the list of files.
This has exposed a few problems with the testsuite. There are implied
dependencies that some directories have on others (e.g., using other
directories header files) and the multi-files tests are not explicit
about it. So, you may end up sending files needed in the same test to
different machines.
Diego.