mirror of
https://github.com/dart-lang/sdk
synced 2024-09-20 08:38:17 +00:00
Scrub step names to avoid breaking buildbot features.
Review URL: https://chromiumcodereview.appspot.com//10919182 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12096 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
6cd6d6f6c5
commit
ebd6307d57
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue