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

This commit is contained in:
zhanyong.wan 2009-06-11 00:51:14 +00:00
parent e68adf5c90
commit b24b49d85a
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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)