From 7cc7093fb3f52e438239578e70aaee6c3ef12cda Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 12 Oct 2014 17:49:39 -0700 Subject: Don't ignore testsuites without --list support, but consider them as atomic entities. This prevents any such testsuites from being skipped when run using testr. Bug: https://bugzilla.samba.org/show_bug.cgi?id=10874 Change-Id: I6ae8c92bb70e86a3b848b9cb3a53e2af466c3fe3 Signed-Off-By: Jelmer Vernooij Reviewed-by: Andrew Bartlett --- selftest/selftest.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/selftest/selftest.pl b/selftest/selftest.pl index f35b063b01..2df5092478 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -943,6 +943,9 @@ $envvarstr unless($cmd =~ /\$LISTOPT/) { warn("Unable to list tests in $name"); + # Rather than ignoring this testsuite altogether, just pretend the entire testsuite is + # a single "test". + print "$name\n"; next; } -- cgit