mirror of https://github.com/nodejs/node.git
test: test name is the last elem, not second
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.pull/24507/merge
parent
9352c19885
commit
fb6dd0c0b5
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue