summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2014-10-12 17:49:39 -0700
committerAndrew Bartlett <abartlet@samba.org>2014-10-14 06:44:07 +0200
commit7cc7093fb3f52e438239578e70aaee6c3ef12cda (patch)
tree5a0a5146682273608b3d19462ccd6eab74c84819 /selftest
parentc7b6897b80e724023c3b092d086ab574bff564e1 (diff)
downloadsamba-7cc7093fb3f52e438239578e70aaee6c3ef12cda.tar.gz
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 <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/selftest.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index f35b063b016..2df50924782 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;
}