diff options
author | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-03-25 16:16:44 -0700 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-03-26 00:21:41 +0100 |
commit | fb6dd0c0b5a9705d691054449e4beb4cf7a73ea1 (patch) | |
tree | 96a0c5bcb611f2af22ee3084b1e5b1491c4d5755 | |
parent | 9352c1988574cbbc8649115007200315d8f79578 (diff) | |
download | node-fb6dd0c0b5a9705d691054449e4beb4cf7a73ea1.tar.gz |
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.
-rwxr-xr-x | tools/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test.py b/tools/test.py index 140358e4c..90c79bcb3 100755 --- 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(): |