This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libstdc++] Tighten up testsuite makefile rules
On Tue, Jul 01, 2003 at 06:35:16PM -0400, Daniel Jacobowitz wrote:
>
> Those are not the same. In the former, check-DEJAGNU and check-local
> can run at the same time - thus check-abi and normal check running into
> each other. Right?
I could have sworn that AM_MA- *check* ah, no it doesn't. My bad.
This patch has the effect of serializing the 'check' targets while not
affecting the normal 'all' targets (a couple of source files, a static
library, and an executable). Tested on x86/linux with GNU make, with and
without -j3, and BSD make.
2003-07-01 Phil Edwards <pme@gcc.gnu.org>
* testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
check* targets, but not libs/programs).
* testsuite/Makefile.in: Regenerate.
Index: testsuite/Makefile.am
===================================================================
RCS file: /home/pme/Repositories/GCC/gcc/libstdc++-v3/testsuite/Makefile.am,v
retrieving revision 1.25
diff -u -3 -p -r1.25 Makefile.am
--- testsuite/Makefile.am 30 Jun 2003 20:40:10 -0000 1.25
+++ testsuite/Makefile.am 2 Jul 2003 01:33:02 -0000
@@ -35,6 +35,7 @@ RUNTEST = `if [ -f @glibcpp_srcdir@/../d
echo @glibcpp_srcdir@/../dejagnu/runtest ; \
else echo runtest; fi`
+AM_MAKEFLAGS = -j1
AM_RUNTESTFLAGS =
RUNTESTFLAGS =