summaryrefslogtreecommitdiff
path: root/tester
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-09-08 15:36:31 +1000
committerChris Johns <chrisj@rtems.org>2018-09-08 15:36:31 +1000
commit5075e8ed025baf2a0020b5f8832ffaf6ac336d7a (patch)
treea93b166e76c848761a957bbf669bbe53b885031b /tester
parent14a12d36459c3d1b821dac8038bffcd23133994f (diff)
tester/bsp-builder: Yield the job control thread when in a dry-run.
This stops a dry-run blocking while the job control thread spins.
Diffstat (limited to 'tester')
-rwxr-xr-xtester/rt/check.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tester/rt/check.py b/tester/rt/check.py
index a5deed7..e202946 100755
--- a/tester/rt/check.py
+++ b/tester/rt/check.py
@@ -1373,7 +1373,9 @@ class builder:
job.clean()
active_jobs.remove(job)
self.jobs_completed += 1
- if not self.options['dry-run']:
+ if self.options['dry-run']:
+ time.sleep(0)
+ else:
time.sleep(0.100)
except:
for job in active_jobs: