Index: dart/utils/compiler/buildbot.py |
diff --git a/dart/utils/compiler/buildbot.py b/dart/utils/compiler/buildbot.py |
index ba42afae6aec3589d552b20ed6727ce19e32ef90..6da39b1e23e24ecc63f3a246ece894744dfc2458 100644 |
--- a/dart/utils/compiler/buildbot.py |
+++ b/dart/utils/compiler/buildbot.py |
@@ -100,9 +100,16 @@ def GetBuildInfo(): |
def NeedsXterm(compiler, runtime): |
return runtime in ['ie', 'chrome', 'safari', 'opera', 'ff', 'drt'] |
+ |
+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)) |
+ |
+ |
def TestStep(name, mode, system, compiler, runtime, targets, flags): |
- print '@@@BUILD_STEP %s %s tests: %s %s@@@' % (name, compiler, runtime, |
- ' '.join(flags)) |
+ print '@@@BUILD_STEP %s@@@' % TestStepName(name, flags) |
sys.stdout.flush() |
if NeedsXterm(compiler, runtime) and system == 'linux': |
cmd = ['xvfb-run', '-a'] |