Index: dart/utils/compiler/buildbot.py |
diff --git a/dart/utils/compiler/buildbot.py b/dart/utils/compiler/buildbot.py |
index 6da39b1e23e24ecc63f3a246ece894744dfc2458..1b9a1d2a48431edc7d03df1012a9f82d94cb4090 100644 |
--- a/dart/utils/compiler/buildbot.py |
+++ b/dart/utils/compiler/buildbot.py |
@@ -105,11 +105,12 @@ def TestStepName(name, flags): |
# Filter out flags with '=' as this breaks the /stats feature of the |
# build bot. |
flags = [x for x in flags if not '=' in x] |
- return '%s tests %s' % (name, ' '.join(flags)) |
+ return ('%s tests %s' % (name, ' '.join(flags))).strip() |
def TestStep(name, mode, system, compiler, runtime, targets, flags): |
- print '@@@BUILD_STEP %s@@@' % TestStepName(name, flags) |
+ step_name = TestStepName(name, flags) |
+ print '@@@BUILD_STEP %s@@@' % step_name |
sys.stdout.flush() |
if NeedsXterm(compiler, runtime) and system == 'linux': |
cmd = ['xvfb-run', '-a'] |
@@ -120,6 +121,7 @@ def TestStep(name, mode, system, compiler, runtime, targets, flags): |
cmd.extend([sys.executable, |
os.path.join(os.curdir, 'tools', 'test.py'), |
+ '--step_name=' + step_name, |
'--mode=' + mode, |
'--compiler=' + compiler, |
'--runtime=' + runtime, |