aboutsummaryrefslogtreecommitdiffstats
path: root/tests/various/smtlib2_module.sh
diff options
context:
space:
mode:
authorJannis Harder <me@jix.one>2022-06-07 19:45:47 +0200
committerGitHub <noreply@github.com>2022-06-07 19:45:47 +0200
commitd9bb10ba5f82d53d884ac3e18471a619d596ee5d (patch)
tree868aaa50b1f43b38daa915f141bdada025dfd5d2 /tests/various/smtlib2_module.sh
parent5f9a97d2342f1d3956f07c88c619bc88b43c8a1f (diff)
parentac22f1764d5a9f8dbe70f70b1acf6b7dc65c1ced (diff)
downloadyosys-d9bb10ba5f82d53d884ac3e18471a619d596ee5d.tar.gz
yosys-d9bb10ba5f82d53d884ac3e18471a619d596ee5d.tar.bz2
yosys-d9bb10ba5f82d53d884ac3e18471a619d596ee5d.zip
Merge pull request #3367 from jix/smtlib2-module-fixes
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