Skip to content

Commit cea40ce

Browse files
Add BUILDBOT envvar (GH-622)
1 parent 3119da4 commit cea40ce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

master/custom/factories.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ def __init__(self, source, *, extra_tags=[], **kwargs):
4646
self.setup(**kwargs)
4747
self.tags = self.factory_tags + extra_tags
4848

49+
self.test_environ = {
50+
"BUILDBOT": "1", # Every time you use this option, a puppy dies!!
51+
**getattr(self, "test_environ", {}),
52+
}
53+
4954

5055
##############################################################################
5156
############################### UNIX BUILDS ################################

0 commit comments

Comments
 (0)