This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] Fix parallel gdb/ make check//%
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tromey at redhat dot com>
- Date: Tue, 30 Jun 2009 19:46:50 +0200
- Subject: [patch] Fix parallel gdb/ make check//%
Hi,
running from gdb/
make check//unix/-m32
/home/jkratoch/redhat/gdb-master/gdb/testsuite.unix.-m32/../../gdb/gdb version 6.8.50.20090630-cvs -nw -nx
make[2]: *** [check-gdb.base1] Error 1
make[2]: Leaving directory `/home/jkratoch/redhat/gdb-master/gdb/testsuite.unix.-m32'
dg-extract-results.sh: file gdb.gdb/gdb.sum does not exist.
dg-extract-results.sh: file gdb.gdb/gdb.log does not exist.
make[1]: *** [check-parallel] Error 1
make[1]: Leaving directory `/home/jkratoch/redhat/gdb-master/gdb/testsuite.unix.-m32'
make: *** [check//unix/-m32] Error 2
Now I see only with the previous patch.
[patch] Enable parallel make check also from gdb/
http://sourceware.org/ml/gdb-patches/2009-06/msg00879.html
Currently there were:
missing optional @SUBDIRS@: gdb.stabs gdb.gdbtk gdb.hp
missing static: gdb.gdb gdn.modulas gdb.reverse
I may miss the original code goal.
Thanks,
Jan
gdb/testsuite/
2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* Makefile.in (TEST_DIRS): Use $(ALL_SUBDIRS).
diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index 5344418..72b8634 100644
--- a/gdb/testsuite/Makefile.in
+++ b/gdb/testsuite/Makefile.in
@@ -153,7 +153,7 @@ check-single: all site.exp
# A list of all directories named "gdb.*" which also hold a .exp file.
# We filter out gdb.base and add fake entries, because that directory
# takes the longest to process, and so we split it in half.
-TEST_DIRS = gdb.base1 gdb.base2 $(filter-out gdb.base,$(sort $(notdir $(patsubst %/,%,$(dir $(wildcard $(srcdir)/gdb.*/*.exp))))))
+TEST_DIRS = gdb.base1 gdb.base2 $(filter-out gdb.base,$(ALL_SUBDIRS))
TEST_TARGETS = $(addprefix check-,$(TEST_DIRS))