projects
/
SymbiYosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faa5b1f
)
Check if config contains any engines, fixes #38
author
Clifford Wolf
<clifford@clifford.at>
Wed, 1 May 2019 16:47:41 +0000
(18:47 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 1 May 2019 16:47:41 +0000
(18:47 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
sbysrc/sby_core.py
patch
|
blob
|
history
diff --git
a/sbysrc/sby_core.py
b/sbysrc/sby_core.py
index 334f67ac3c4a931d5326533364732365d5b2e7c6..a66ea1409ae74e719f7a4b2118aa657ea3213267 100644
(file)
--- a/
sbysrc/sby_core.py
+++ b/
sbysrc/sby_core.py
@@
-589,6
+589,9
@@
class SbyJob:
if engine[0] not in ["smtbmc", "btor"]:
self.error("Option skip is only valid for smtbmc and btor engines.")
+ if len(self.engines) == 0:
+ self.error("Config file is lacking engine configuration.")
+
if self.reusedir:
rmtree("%s/model" % self.workdir, ignore_errors=True)
else: