tests/run-tests.py
branchstable
changeset 946 b6a39effa432
parent 945 83e828101e3c
child 947 23f0eeb598b5
--- a/tests/run-tests.py	Mon May 16 21:52:28 2011 +0200
+++ b/tests/run-tests.py	Mon May 16 21:54:43 2011 +0200
@@ -638,7 +638,7 @@
     Return a tuple (exitcode, output).  output is None in debug mode."""
     # TODO: Use subprocess.Popen if we're running on Python 2.4
     if options.debug:
-        proc = subprocess.Popen(cmd, shell=True)
+        proc = subprocess.Popen(cmd, shell=True, cwd=wd)
         ret = proc.wait()
         return (ret, None)