Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Issue 58933006: Properly detect whether we're running on a buildbot. (Closed)

Created:
7 years, 1 month ago by nweiz
Modified:
7 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Properly detect whether we're running on a buildbot. BUILDBOT_BUILDERNAME is only set for bots using annotated steps, which isn't all of them. This detects whether the username is "chrome-bot" instead. This check is currently only being used to decide whether to use unittest's compact VM config or the default config. R=rnystrom@google.com, sigmund@google.com Committed: https://code.google.com/p/dart/source/detail?r=30206

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M pkg/unittest/lib/compact_vm_config.dart View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 6 (0 generated)
nweiz
7 years, 1 month ago (2013-11-12 19:27:50 UTC) #1
Bob Nystrom
+siggy, but LGTM.
7 years, 1 month ago (2013-11-12 19:32:44 UTC) #2
Siggi Cherem (dart-lang)
https://codereview.chromium.org/58933006/diff/1/pkg/unittest/lib/compact_vm_config.dart File pkg/unittest/lib/compact_vm_config.dart (right): https://codereview.chromium.org/58933006/diff/1/pkg/unittest/lib/compact_vm_config.dart#newcode193 pkg/unittest/lib/compact_vm_config.dart:193: if (Platform.environment['LOGNAME'] == 'chrome-bot') { does this work in ...
7 years, 1 month ago (2013-11-12 20:05:57 UTC) #3
nweiz
https://codereview.chromium.org/58933006/diff/1/pkg/unittest/lib/compact_vm_config.dart File pkg/unittest/lib/compact_vm_config.dart (right): https://codereview.chromium.org/58933006/diff/1/pkg/unittest/lib/compact_vm_config.dart#newcode193 pkg/unittest/lib/compact_vm_config.dart:193: if (Platform.environment['LOGNAME'] == 'chrome-bot') { On 2013/11/12 20:05:57, Siggi ...
7 years, 1 month ago (2013-11-12 20:11:11 UTC) #4
Siggi Cherem (dart-lang)
thanks for the details, lgtm
7 years, 1 month ago (2013-11-12 20:23:19 UTC) #5
nweiz
7 years, 1 month ago (2013-11-12 20:32:26 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 manually as r30206 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698