|
@@ -37,7 +37,7 @@ def test(root, patch):
|
|
|
res = True
|
|
|
patchpath = os.path.abspath(os.path.join(root, patch))
|
|
|
|
|
|
- cmd = 'patchtest %s %s/tests --patch %s' % (repodir, topdir, patchpath)
|
|
|
+ cmd = 'patchtest --repodir %s --testdir %s/tests --patch %s' % (repodir, topdir, patchpath)
|
|
|
results = subprocess.check_output(cmd, stderr=subprocess.STDOUT, universal_newlines=True, shell=True)
|
|
|
|
|
|
return results
|