Browse Source

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.
v0.10.2-release
Timothy J Fontaine 12 years ago
committed by Ben Noordhuis
parent
commit
fb6dd0c0b5
  1. 2
      tools/test.py

2
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():

Loading…
Cancel
Save