Fixes a typo in run_tests.py and its test (by Vlad Losev).
This commit is contained in:
parent
e68adf5c90
commit
b24b49d85a
|
@ -191,7 +191,7 @@ class TestRunner(object):
|
||||||
if self.subprocess:
|
if self.subprocess:
|
||||||
return self.subprocess.Popen(args).wait()
|
return self.subprocess.Popen(args).wait()
|
||||||
else:
|
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):
|
def RunBinaryTest(self, test):
|
||||||
"""Runs the binary test script given its path relative to the gtest root.
|
"""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)
|
assert self.path.isdir(path)
|
||||||
return self.path.PathElement(path).iterkeys()
|
return self.path.PathElement(path).iterkeys()
|
||||||
|
|
||||||
def spawn(self, wait, executable, *kargs):
|
def spawnv(self, wait, executable, *kargs):
|
||||||
assert wait == FakeOs.P_WAIT
|
assert wait == FakeOs.P_WAIT
|
||||||
return self.spawn_impl(executable, kargs)
|
return self.spawn_impl(executable, kargs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user