mirror of
https://git.rtems.org/rtems-tools/
synced 2025-06-06 21:45:17 +08:00
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.
This commit is contained in:
parent
14a12d3645
commit
5075e8ed02
@ -1373,7 +1373,9 @@ class builder:
|
|||||||
job.clean()
|
job.clean()
|
||||||
active_jobs.remove(job)
|
active_jobs.remove(job)
|
||||||
self.jobs_completed += 1
|
self.jobs_completed += 1
|
||||||
if not self.options['dry-run']:
|
if self.options['dry-run']:
|
||||||
|
time.sleep(0)
|
||||||
|
else:
|
||||||
time.sleep(0.100)
|
time.sleep(0.100)
|
||||||
except:
|
except:
|
||||||
for job in active_jobs:
|
for job in active_jobs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user