This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix parallel gdb/ make check//% site.exp


sometimes `make check//unix/-m32' just did not produce any results.

Caught it is due to site.exp existing in gdb/testsuite/ thus satisfying VPATH
make dependency on it but runtest does not execute anything without site.exp
file in its current directory.


2009-11-09  Jan Kratochvil  <>

	* (check-single, $(TEST_TARGETS), check-gdb.base%): Change
	`site.exp' dependency to `./site.exp'.

--- gdb/testsuite/	19 Oct 2009 09:51:43 -0000	1.28
+++ gdb/testsuite/	9 Nov 2009 12:12:52 -0000
@@ -147,7 +147,7 @@ DO_RUNTEST = \
 	  export TCL_LIBRARY ; fi ; \
-check-single: all site.exp
+check-single: all ./site.exp
 # A list of all directories named "gdb.*" which also hold a .exp file.
@@ -170,7 +170,7 @@ check-parallel:
 	$(SHELL) $(srcdir)/ -L \
 	  $(addsuffix /gdb.log,$(TEST_DIRS)) > gdb.log
-$(filter-out check-gdb.base%,$(TEST_TARGETS)): check-gdb.%: all site.exp
+$(filter-out check-gdb.base%,$(TEST_TARGETS)): check-gdb.%: all ./site.exp
 	@if test ! -d gdb.$*; then mkdir gdb.$*; fi
 	$(DO_RUNTEST) --directory=gdb.$* --outdir=gdb.$* $(RUNTESTFLAGS)
@@ -179,7 +179,7 @@ BASE1_FILES = $(patsubst $(srcdir)/%,%,$
 BASE2_FILES = $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/gdb.base/[n-z]*.exp))
 # Handle each half of gdb.base.
-check-gdb.base%: all site.exp
+check-gdb.base%: all ./site.exp
 	@if test ! -d gdb.base$*; then mkdir gdb.base$*; fi
 	$(DO_RUNTEST) $(BASE$*_FILES) --outdir gdb.base$* $(RUNTESTFLAGS)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]