summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/autobuild.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index 6e1e3e044cb..3c788dd0aea 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -230,6 +230,11 @@ class buildlist(object):
self.retry = None
if tasknames == []:
tasknames = defaulttasks
+ else:
+ # If we are only running one test,
+ # do not sleep randomly to wait for it to start
+ os.environ['AUTOBUILD_RANDOM_SLEEP_OVERRIDE'] = '1'
+
for n in tasknames:
b = builder(n, tasks[n])
self.tlist.append(b)