This is the mail archive of the gdb-patches@sourceware.org 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] Restore check-gdb.% target


I found the check-gdb.cp target useful for testing G++, and was sorry to lose it in the change to improve parallel testing. This patch recreates that target using the new testing machinery.

Not a big deal if you don't want to make this change, I'll just modify my testing scripts to do the more verbose make check TESTS="gdb.cp/*.exp". But I figured other people might find the short form convenient and/or habitual.
commit 105041cc6a1d53cae6753409d2d4a145bef3cb51
Author: Jason Merrill <jason@redhat.com>
Date:   Tue Dec 9 15:50:03 2014 -0500

    	* Makefile.in (check-gdb.%): Restore.

diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index 1c923cd..21a1c12 100644
--- a/gdb/testsuite/Makefile.in
+++ b/gdb/testsuite/Makefile.in
@@ -188,6 +188,9 @@ DO_RUNTEST = \
 @GMAKE_TRUE@endif
 @GMAKE_FALSE@expanded_tests_or_none = $(TESTS)
 
+check-gdb.%:
+	$(MAKE) check TESTS="gdb.$*/*.exp"
+
 check-single:
 	$(DO_RUNTEST) $(RUNTESTFLAGS) $(expanded_tests_or_none)
 

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