diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-06-30 21:23:38 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-06-30 21:23:38 +0000 |
commit | 59dd3af6a2407e6ed3cfcb9b3b6f711cc7aba0ec (patch) | |
tree | 7948f6bac25cd727ef6536837ef5371d1b4ce59b /gdb/Makefile.in | |
parent | f4e164aac4f978e4240a259a77e586f01e75cc57 (diff) | |
download | gdb-59dd3af6a2407e6ed3cfcb9b3b6f711cc7aba0ec.zip gdb-59dd3af6a2407e6ed3cfcb9b3b6f711cc7aba0ec.tar.gz gdb-59dd3af6a2407e6ed3cfcb9b3b6f711cc7aba0ec.tar.bz2 |
gdb/
* Makefile.in (TARGET_FLAGS_TO_PASS): Include also FORCE_PARALLEL.
(check//%): Construct FORCE_PARALLEL for the sub-make. Extend the
comment for it.
gdb/testsuite/
Fix `make check//%' target after `make check' has been ran.
* Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
a mkdir call.
(check-gdb.base%): Remove the gdb.base%/.dir dependency.
(%/.dir): Remove.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index a007949..3852e06 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -620,7 +620,8 @@ TARGET_FLAGS_TO_PASS = \ "MAKEINFO=$(MAKEINFO)" \ "MAKEHTML=$(MAKEHTML)" \ "RUNTEST=$(RUNTEST)" \ - "RUNTESTFLAGS=$(RUNTESTFLAGS)" + "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ + "FORCE_PARALLEL=$(FORCE_PARALLEL)" # All source files that go into linking GDB. # Links made at configuration time should not be specified here, since @@ -885,7 +886,8 @@ check: force # will run 3 concurrent sessions of check, eventually testing all 10 # combinations. GNU make is required for the % pattern to work, as is # a shell that expands alternations within braces. If GNU make is not -# used, this rule will harmlessly fail to match. +# used, this rule will harmlessly fail to match. Used FORCE_PARALLEL to +# prevent serialized checking due to the passed RUNTESTFLAGS. check//%: force @if [ -f testsuite/config.status ]; then \ rootme=`pwd`; export rootme; \ @@ -905,6 +907,7 @@ check//%: force else :; fi && cd $$testdir && \ $(MAKE) $(TARGET_FLAGS_TO_PASS) \ RUNTESTFLAGS="--target_board=$$variant $(RUNTESTFLAGS)" \ + FORCE_PARALLEL=$(if $(FORCE_PARALLEL),1,$(if $(RUNTESTFLAGS),,1)) \ "$$target"; \ else true; fi |