Commit b24b49d8 by zhanyong.wan

Fixes a typo in run_tests.py and its test (by Vlad Losev).

parent e68adf5c
......@@ -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.
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment