Skip to content

Commit c030b8d

Browse files
authored
Rename BUILDMASTER_TEST to BUILDBOT_TEST (#301)
BUILDBOT_TEST is sufficiently descriptive (after all, 'buildbot' is the package name and the name of the binary invoked to create a buildmaster) and it's possible upstream may later remove the buildmaster terminology <buildbot/buildbot#5382> or alternatively we might move away from it downstream. As such, it seems prudent to use a name that would be unaffected. BUILDMASTER_TEST was added in #289 and as the docs PR hasn't landed yet, shouldn't have any users relying on it yet.
1 parent 1afa908 commit c030b8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

buildbot/osuosl/master/master.cfg

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ c['buildbotNetUsageData'] = None
2626
import config
2727
reload(config)
2828

29-
# Detect if the BUILDMASTER_TEST environment variable is set and non-zero.
30-
# This will be used to enable a local testing mode.
31-
buildmaster_test = os.environ.get('BUILDMASTER_TEST')
32-
test_mode = bool(buildmaster_test) and buildmaster_test != '0'
29+
# Detect if the BUILDBOT_TEST environment variable is set and non-zero. This
30+
# will be used to enable a local testing mode.
31+
buildbot_test = os.environ.get('BUILDBOT_TEST')
32+
test_mode = bool(buildbot_test) and buildbot_test != '0'
3333
config.options['Internal'] = {}
3434
config.options['Internal']['test_mode'] = str(test_mode)
3535

0 commit comments

Comments
 (0)