summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-09-21 20:58:23 -0700
committerJelmer Vernooij <jelmer@samba.org>2010-09-21 22:54:37 -0700
commit7c1b00f4a80ee5eb91333cad9c27ba699c6b2e3b (patch)
treee2ceef820d026bff4beaf222ee3608c8c883cfa0 /source4
parentbf907d2c4a7c9c4d95d2af644eb5f8dc97e073c3 (diff)
downloadsamba-7c1b00f4a80ee5eb91333cad9c27ba699c6b2e3b.tar.gz
samba-7c1b00f4a80ee5eb91333cad9c27ba699c6b2e3b.tar.bz2
samba-7c1b00f4a80ee5eb91333cad9c27ba699c6b2e3b.zip
selftest: Use idlist testing for python tests.
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/selftest/tests.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/selftest/tests.sh b/source4/selftest/tests.sh
index f31f0823d3..719f4a65b1 100755
--- a/source4/selftest/tests.sh
+++ b/source4/selftest/tests.sh
@@ -102,10 +102,9 @@ planperltestsuite() {
planpythontestsuite() {
name=$1
env=$2
- shift 2
- other_args="$*"
- cmdline="$SUBUNITRUN $other_args"
- plantestsuite "$name" "$env" $cmdline
+ module="$3"
+ shift 3
+ plantestsuite_idlist "$name" "$env" python -m subunit.run $module
}
plansmbtorturetestsuite() {