Restore check-gdb.% target
Commit Message
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.
Comments
On 12/09/2014 09:01 PM, Jason Merrill wrote:
> 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.
Looks convenient indeed. Fine with me to restore it. Could you add a
short blurb to testsuite/README mentioning this?
Thanks,
Pedro Alves
commit 105041cc6a1d53cae6753409d2d4a145bef3cb51
Author: Jason Merrill <jason@redhat.com>
Date: Tue Dec 9 15:50:03 2014 -0500
* Makefile.in (check-gdb.%): Restore.
@@ -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)