From 6d03af93d24ffd30f19e66753106fc85ea0a51e4 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 12 Mar 2014 19:40:52 +0000 Subject: 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 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS. --- gdb/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/Makefile.in') 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 -- cgit v1.1