This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: FAQ entry: making multiple passes of testsuite.
- To: egcs-patches at cygnus dot com
- Subject: Re: FAQ entry: making multiple passes of testsuite.
- From: Dave Love <d dot love at dl dot ac dot uk>
- Date: 26 Oct 1998 15:22:56 +0000
- References: <19981025223947.E14449@dgii.com>
>>>>> "RL" == Robert Lipe <robertl@dgii.com> writes:
RL> +Or, if you use <code>make check</code> you can use the
RL> +<code>make</code> variable <code>RUNTESTFLAGS</code>, e.g:
RL> +<pre>
RL> + make RUNTESTFLAGS='--target_board "unix{-fPIC,-fpic,}"' check-gcc
RL> +</pre>
RL> +<p>Either of these examples will run the tests three times. Once
RL> +with <code>-fPIC</code>, once with <code>-fpic</code>, and once with
RL> +no additional flags.
RL> +<p>This technique is particularly useful on multilibbed targets.
However, this doesn't currently find the correct multilibrary, at
least for Fortran tests on Irix and SunOS4, though there seems to be
code there intended to do so. I don't think I'm Tclish enough to
investigate.