1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

test: add possibility to select tests to run via tests_all.sh (make test)

This allows to select the tests to run with tests_all.sh by setting
the environment variable "RUNTESTS". Example:

RUNTESTS="smbclient_s3_encrypted wbinfo_s3" make test

Michael
This commit is contained in:
Michael Adam 2008-03-31 13:33:12 +02:00
parent ad1fbadf81
commit bf4af79f05

View File

@ -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