Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
b24b49d8
Commit
b24b49d8
authored
Jun 11, 2009
by
zhanyong.wan
Browse files
Fixes a typo in run_tests.py and its test (by Vlad Losev).
parent
e68adf5c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
run_tests.py
run_tests.py
+1
-1
test/run_tests_test.py
test/run_tests_test.py
+1
-1
No files found.
run_tests.py
View file @
b24b49d8
...
...
@@ -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
.
spawn
v
(
self
.
os
.
P_WAIT
,
args
[
0
],
args
)
def
RunBinaryTest
(
self
,
test
):
"""Runs the binary test script given its path relative to the gtest root.
...
...
test/run_tests_test.py
View file @
b24b49d8
...
...
@@ -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
spawn
v
(
self
,
wait
,
executable
,
*
kargs
):
assert
wait
==
FakeOs
.
P_WAIT
return
self
.
spawn_impl
(
executable
,
kargs
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment