From fb6dd0c0b5a9705d691054449e4beb4cf7a73ea1 Mon Sep 17 00:00:00 2001 From: Timothy J Fontaine Date: Mon, 25 Mar 2013 16:16:44 -0700 Subject: [PATCH] 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. --- tools/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test.py b/tools/test.py index 140358e4cfa..90c79bcb35e 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():