summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-04-10 22:20:12 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-04-10 22:38:32 +0200
commit64bf8c400c8076316929cb6f06346bdf1c48d9d7 (patch)
tree7cb1fcf57fcc613474f66dcff6ea06d207149ac1 /source4/selftest
parent4fb98b6856fd0174d0f41f390e28027da636c307 (diff)
downloadsamba-64bf8c400c8076316929cb6f06346bdf1c48d9d7.tar.gz
samba-64bf8c400c8076316929cb6f06346bdf1c48d9d7.tar.bz2
samba-64bf8c400c8076316929cb6f06346bdf1c48d9d7.zip
selftest: Support passing --load-list to test runners.
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/source4/selftest/tests.sh b/source4/selftest/tests.sh
index d4f7e47290..da0b4e329b 100755
--- a/source4/selftest/tests.sh
+++ b/source4/selftest/tests.sh
@@ -43,6 +43,21 @@ plantestsuite() {
echo $cmdline
}
+plantestsuite_loadlist() {
+ name=$1
+ env=$2
+ shift 2
+ cmdline="$*"
+ echo "-- TEST-LOADLIST --"
+ if [ "$env" = "none" ]; then
+ echo "samba4.$name"
+ else
+ echo "samba4.$name ($env)"
+ fi
+ echo $env
+ echo $cmdline
+}
+
skiptestsuite() {
name=$1
reason=$2