test: use planpythontestsuite() for ldb.python test
authorAndrew Tridgell <tridge@samba.org>
Wed, 9 Nov 2011 02:10:49 +0000 (13:10 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 10 Nov 2011 03:24:21 +0000 (14:24 +1100)
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>

source4/selftest/tests.py

index 3b0bff1fec04a71c842a447291b8f266ce63a128..c36b6e54fdab8d7c5f4e2d1a0e21592dc5281977 100755 (executable)
@@ -395,8 +395,7 @@ def plansambapythontestsuite(name, env, path, module, environ={}, extra_args=[])
     args += extra_args
     plantestsuite(name, env, args)
 
-
-plansambapythontestsuite("ldb.python", "none", "%s/lib/ldb/tests/python/" % srcdir(), 'api')
+plantestsuite_idlist("ldb.python", "none", [subunitrun, '-D', 'lib/ldb/tests/python', "api"])
 planpythontestsuite("none", "samba.tests.credentials")
 plantestsuite_idlist("samba.tests.gensec", "dc:local", [subunitrun, "$LISTOPT", '-U"$USERNAME%$PASSWORD"', "samba.tests.gensec"])
 planpythontestsuite("none", "samba.tests.registry")