Make 'make check TESTS="..."' work from GDB's build dir.

I noticed 'make check TESTS="..."' works when ran from gdb/testsuite/,
but TESTS is ignored when "make check" is ran from gdb/.

The issue is that TESTS isn't being passed to the testsuite subdir
make invocation.

gdb/
2014-03-12  Pedro Alves  <palves@redhat.com>

	* Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
This commit is contained in:
Pedro Alves
2014-03-12 19:40:52 +00:00
parent b3ccfe11d3
commit 6d03af93d2
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2014-03-12 Pedro Alves <palves@redhat.com>
* Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
2014-03-12 Tom Tromey <tromey@redhat.com> 2014-03-12 Tom Tromey <tromey@redhat.com>
* inf-child.c (return_zero): New function. * inf-child.c (return_zero): New function.

View File

@@ -766,7 +766,8 @@ TARGET_FLAGS_TO_PASS = \
"MAKEHTML=$(MAKEHTML)" \ "MAKEHTML=$(MAKEHTML)" \
"RUNTEST=$(RUNTEST)" \ "RUNTEST=$(RUNTEST)" \
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \ "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
"FORCE_PARALLEL=$(FORCE_PARALLEL)" "FORCE_PARALLEL=$(FORCE_PARALLEL)" \
"TESTS=$(TESTS)"
# All source files that go into linking GDB. # All source files that go into linking GDB.
# Links made at configuration time should not be specified here, since # Links made at configuration time should not be specified here, since