We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa2a96d commit eeee1a1Copy full SHA for eeee1a1
tools/cexenum/cexenum.py
@@ -470,6 +470,7 @@ def __init__(self, smt2_model: Path):
470
[
471
"yosys-smtbmc",
472
"--incremental",
473
+ "--noprogress",
474
*App.smtbmc_options,
475
str(smt2_model),
476
],
@@ -481,7 +482,11 @@ def __init__(self, smt2_model: Path):
481
482
483
async def on_run(self) -> None:
484
def output_handler(event: tl.process.StdoutEvent):
- result = json.loads(event.output)
485
+ line = event.output.strip()
486
+ if line.startswith('{'):
487
+ result = json.loads(event.output)
488
+ else:
489
+ result = dict(msg=line)
490
tl.log_debug(f"smtbmc > {result!r}")
491
if "err" in result:
492
exception = tl.logging.LoggedError(
0 commit comments