diff options
author | Chris Johns <chrisj@rtems.org> | 2018-09-08 15:36:31 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-09-08 15:36:31 +1000 |
commit | 5075e8ed025baf2a0020b5f8832ffaf6ac336d7a (patch) | |
tree | a93b166e76c848761a957bbf669bbe53b885031b | |
parent | tester/bsp-builder: Add excluded build options to the base options. (diff) | |
download | rtems-tools-5075e8ed025baf2a0020b5f8832ffaf6ac336d7a.tar.bz2 |
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.
-rwxr-xr-x | tester/rt/check.py | 4 |
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: |