aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-03-12 19:40:52 +0000
committerPedro Alves <palves@redhat.com>2014-03-12 19:52:00 +0000
commit6d03af93d24ffd30f19e66753106fc85ea0a51e4 (patch)
tree78aa567adf054b45c38903e947a706859c07a2bc
parentb3ccfe11d3b0fc84f8ccd4e4fa25b75d1dc71cfc (diff)
downloadgdb-6d03af93d24ffd30f19e66753106fc85ea0a51e4.zip
gdb-6d03af93d24ffd30f19e66753106fc85ea0a51e4.tar.gz
gdb-6d03af93d24ffd30f19e66753106fc85ea0a51e4.tar.bz2
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.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/Makefile.in3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6085aaa..a3fc411 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
* inf-child.c (return_zero): New function.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 2558da5..3efedc8 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -766,7 +766,8 @@ TARGET_FLAGS_TO_PASS = \
"MAKEHTML=$(MAKEHTML)" \
"RUNTEST=$(RUNTEST)" \
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
- "FORCE_PARALLEL=$(FORCE_PARALLEL)"
+ "FORCE_PARALLEL=$(FORCE_PARALLEL)" \
+ "TESTS=$(TESTS)"
# All source files that go into linking GDB.
# Links made at configuration time should not be specified here, since