projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9352c19
)
test: test name is the last elem, not second
author
Timothy J Fontaine
<tjfontaine@gmail.com>
Mon, 25 Mar 2013 23:16:44 +0000
(16:16 -0700)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Mon, 25 Mar 2013 23:21:41 +0000
(
00:21
+0100)
When a test requires node to have parameters passed (--expose-gc) the
test name will be the last element in the command array, not the second.
tools/test.py
patch
|
blob
|
history
diff --git
a/tools/test.py
b/tools/test.py
index
140358e
..
90c79bc
100755
(executable)
--- a/
tools/test.py
+++ b/
tools/test.py
@@
-232,7
+232,7
@@
class TapProgressIndicator(SimpleProgressIndicator):
def HasRun(self, output):
self._done += 1
- command = basename(output.command[1])
+ command = basename(output.command[
-
1])
if output.UnexpectedOutput():
print 'not ok %i - %s' % (self._done, command)
for l in output.output.stderr.splitlines():