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 used to be commit bf4af79f05
)
This commit is contained in:
parent
e3aef196e4
commit
0c3b8e2cab
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user