CI: run the Verilog tests with Z3
This exercises additonal functionality of the solver backend, and is hence worth running in CI.
This commit is contained in:
parent
2ba20d2596
commit
de67aafea9
|
@ -49,6 +49,8 @@ jobs:
|
||||||
run: make -C regression/ebmc test-z3
|
run: make -C regression/ebmc test-z3
|
||||||
- name: Run the verilog tests
|
- name: Run the verilog tests
|
||||||
run: make -C regression/verilog test
|
run: make -C regression/verilog test
|
||||||
|
- name: Run the verilog tests with Z3
|
||||||
|
run: make -C regression/verilog test-z3
|
||||||
- name: Print ccache stats
|
- name: Print ccache stats
|
||||||
run: ccache -s
|
run: ccache -s
|
||||||
|
|
||||||
|
@ -100,6 +102,8 @@ jobs:
|
||||||
run: make -C regression/ebmc test-z3
|
run: make -C regression/ebmc test-z3
|
||||||
- name: Run the verilog tests
|
- name: Run the verilog tests
|
||||||
run: make -C regression/verilog test
|
run: make -C regression/verilog test
|
||||||
|
- name: Run the verilog tests with Z3
|
||||||
|
run: make -C regression/verilog test-z3
|
||||||
- name: Print ccache stats
|
- name: Print ccache stats
|
||||||
run: ccache -s
|
run: ccache -s
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
default: test
|
default: test
|
||||||
|
|
||||||
|
TEST_PL = ../../lib/cbmc/regression/test.pl
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@../../lib/cbmc/regression/test.pl -c ../../../src/ebmc/ebmc
|
@$(TEST_PL) -c ../../../src/ebmc/ebmc
|
||||||
|
|
||||||
|
test-z3:
|
||||||
|
@$(TEST_PL) -e -p -c "../../../src/ebmc/ebmc --z3" -X broken-smt-backend
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
main.v
|
main.v
|
||||||
--bound 1
|
--bound 1
|
||||||
^EXIT=0$
|
^EXIT=0$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
main.v
|
main.v
|
||||||
--bound 1
|
--bound 1
|
||||||
^EXIT=0$
|
^EXIT=0$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
bit-extract1.v
|
bit-extract1.v
|
||||||
--bound 1
|
--bound 1
|
||||||
^EXIT=0$
|
^EXIT=0$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
bit-extract2.v
|
bit-extract2.v
|
||||||
--module main --bound 1 --trace
|
--module main --bound 1 --trace
|
||||||
^EXIT=10$
|
^EXIT=10$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
case3.v
|
case3.v
|
||||||
--module main --bound 3 --trace
|
--module main --bound 3 --trace
|
||||||
^EXIT=10$
|
^EXIT=10$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
case4.v
|
case4.v
|
||||||
--module main --bound 1
|
--module main --bound 1
|
||||||
^EXIT=0$
|
^EXIT=0$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
functioncall3.v
|
functioncall3.v
|
||||||
--module main --bound 0
|
--module main --bound 0
|
||||||
^EXIT=0$
|
^EXIT=0$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
generate-for2.v
|
generate-for2.v
|
||||||
--bound 0
|
--bound 0
|
||||||
^EXIT=0$
|
^EXIT=0$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
generate-reg1.v
|
generate-reg1.v
|
||||||
--module main --bound 0
|
--module main --bound 0
|
||||||
^EXIT=0$
|
^EXIT=0$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
main.v
|
main.v
|
||||||
--module main --bound 1
|
--module main --bound 1
|
||||||
^EXIT=0$
|
^EXIT=0$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
main.sv
|
main.sv
|
||||||
--bound 1
|
--bound 1
|
||||||
^EXIT=0$
|
^EXIT=0$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
ports2.v
|
ports2.v
|
||||||
--module main --bound 1
|
--module main --bound 1
|
||||||
^EXIT=0$
|
^EXIT=0$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
main.v
|
main.v
|
||||||
--module main --bound 1
|
--module main --bound 1
|
||||||
^EXIT=0$
|
^EXIT=0$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
main.v
|
main.v
|
||||||
--module main --bound 3 --trace
|
--module main --bound 3 --trace
|
||||||
^EXIT=10$
|
^EXIT=10$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
main.v
|
main.v
|
||||||
--bound 1
|
--bound 1
|
||||||
^EXIT=0$
|
^EXIT=0$
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CORE
|
CORE broken-smt-backend
|
||||||
system_verilog_assertion3.sv
|
system_verilog_assertion3.sv
|
||||||
--module main --bound 1
|
--module main --bound 1
|
||||||
^EXIT=0$
|
^EXIT=0$
|
||||||
|
|
Loading…
Reference in New Issue