aboutsummaryrefslogtreecommitdiffstats
path: root/tests/various/smtlib2_module.sh
diff options
context:
space:
mode:
authorJannis Harder <me@jix.one>2022-06-07 17:37:04 +0200
committerJannis Harder <me@jix.one>2022-06-07 19:06:45 +0200
commitac22f1764d5a9f8dbe70f70b1acf6b7dc65c1ced (patch)
tree868aaa50b1f43b38daa915f141bdada025dfd5d2 /tests/various/smtlib2_module.sh
parent5f9a97d2342f1d3956f07c88c619bc88b43c8a1f (diff)
downloadyosys-ac22f1764d5a9f8dbe70f70b1acf6b7dc65c1ced.tar.gz
yosys-ac22f1764d5a9f8dbe70f70b1acf6b7dc65c1ced.tar.bz2
yosys-ac22f1764d5a9f8dbe70f70b1acf6b7dc65c1ced.zip
smt2: emit smtlib2_comb_expr outputs after all inputs
Diffstat (limited to 'tests/various/smtlib2_module.sh')
-rwxr-xr-xtests/various/smtlib2_module.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/various/smtlib2_module.sh b/tests/various/smtlib2_module.sh
index 9b2f24f9f..491f65148 100755
--- a/tests/various/smtlib2_module.sh
+++ b/tests/various/smtlib2_module.sh
@@ -1,5 +1,5 @@
#!/bin/bash
set -ex
../../yosys -q -p 'read_verilog -formal smtlib2_module.v; prep; write_smt2 smtlib2_module.smt2'
-sed 's/; SMT-LIBv2 description generated by Yosys .*/; SMT-LIBv2 description generated by Yosys $VERSION/' smtlib2_module.smt2 > smtlib2_module-filtered.smt2
+sed 's/; SMT-LIBv2 description generated by Yosys .*/; SMT-LIBv2 description generated by Yosys $VERSION/;s/ *$//' smtlib2_module.smt2 > smtlib2_module-filtered.smt2
diff -au smtlib2_module-expected.smt2 smtlib2_module-filtered.smt2