summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/script/tests/tests_all.sh22
1 files changed, 14 insertions, 8 deletions
diff --git a/source3/script/tests/tests_all.sh b/source3/script/tests/tests_all.sh
index 6153b6d3a8..c2534679d7 100755
--- a/source3/script/tests/tests_all.sh
+++ b/source3/script/tests/tests_all.sh
@@ -52,12 +52,18 @@ posix_s3() {
fi
}
-local_s3
-smbtorture_s3
-smbtorture_s3_encrypted
-smbclient_s3
-smbclient_s3_encrypted
-wbinfo_s3
-ntlm_auth_s3
-posix_s3
+if test "x$RUNTESTS" = "x" ; then
+ local_s3
+ smbtorture_s3
+ smbtorture_s3_encrypted
+ smbclient_s3
+ smbclient_s3_encrypted
+ wbinfo_s3
+ ntlm_auth_s3
+ posix_s3
+else
+ for THIS_TEST in $RUNTESTS; do
+ $THIS_TEST
+ done
+fi