aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-06-11 00:51:14 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-06-11 00:51:14 +0000
commitb24b49d85a741f254cbe42da36e0cb93f0b0b57f (patch)
tree1061cdb6c54c0c173b992ada74901763b58aa076
parente68adf5c9089b4e2b7d527eb398471a7728b2939 (diff)
downloadgoogletest-b24b49d85a741f254cbe42da36e0cb93f0b0b57f.tar.gz
googletest-b24b49d85a741f254cbe42da36e0cb93f0b0b57f.tar.bz2
googletest-b24b49d85a741f254cbe42da36e0cb93f0b0b57f.zip
Fixes a typo in run_tests.py and its test (by Vlad Losev).
-rwxr-xr-xrun_tests.py2
-rwxr-xr-xtest/run_tests_test.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/run_tests.py b/run_tests.py
index ab58a825..ed85f786 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -191,7 +191,7 @@ class TestRunner(object):
if self.subprocess:
return self.subprocess.Popen(args).wait()
else:
- return self.os.spawn(self.os.P_WAIT, args[0], args)
+ return self.os.spawnv(self.os.P_WAIT, args[0], args)
def RunBinaryTest(self, test):
"""Runs the binary test script given its path relative to the gtest root.
diff --git a/test/run_tests_test.py b/test/run_tests_test.py
index 75b7d9d2..1d9f3b77 100755
--- a/test/run_tests_test.py
+++ b/test/run_tests_test.py
@@ -124,7 +124,7 @@ class FakeOs(object):
assert self.path.isdir(path)
return self.path.PathElement(path).iterkeys()
- def spawn(self, wait, executable, *kargs):
+ def spawnv(self, wait, executable, *kargs):
assert wait == FakeOs.P_WAIT
return self.spawn_impl(executable, kargs)