diff options
author | Andrew Bartlett <abartlet@samba.org> | 2015-04-14 11:59:57 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2015-04-15 05:58:19 +0200 |
commit | d65675b2dfc319fa9991cbae085939000bd06b58 (patch) | |
tree | be83aee9910a36f378574e5db1eb38dbc892fa93 /script | |
parent | 9d695c7372462ace5209659246ba246e260cc42b (diff) | |
download | samba-d65675b2dfc319fa9991cbae085939000bd06b58.tar.gz |
autobuild: Do not wait when running just one target
This avoids having to remember to specify AUTOBUILD_RANDOM_SLEEP_OVERRIDE manually
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'script')
-rwxr-xr-x | script/autobuild.py | 5 |
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) |