aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-12 20:31:28 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-12 20:31:28 +0200
commit4089d016bb3f09e3171eeb1cc6606914aff453c1 (patch)
tree99431c625f0081cd3743d8967afe9fb390b8054c /scripts
parent62763b42386428ada30d0a127181de524bcc21b6 (diff)
downloadlinux-conf-perf-4089d016bb3f09e3171eeb1cc6606914aff453c1.tar.gz
linux-conf-perf-4089d016bb3f09e3171eeb1cc6606914aff453c1.tar.bz2
linux-conf-perf-4089d016bb3f09e3171eeb1cc6606914aff453c1.zip
Catch NoApplicableConfiguration exception in prepare thread
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/loop.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/loop.py b/scripts/loop.py
index fc0ea44..aecda39 100755
--- a/scripts/loop.py
+++ b/scripts/loop.py
@@ -68,7 +68,10 @@ class prepareThread(Thread):
__listlock__.aquire()
while not __terminate__ and len(__conflist__) <= conf.multithread_buffer:
__listlock__.release()
- config = prepare()
+ try:
+ config = prepare()
+ except exceptions.NoApplicableConfiguration:
+ return
__listlock__.aquire()
__conflist__.append(config)
if not __measurethread__.isActive():