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:
Daniel Kroening 2024-02-03 08:22:27 -08:00
parent 2ba20d2596
commit de67aafea9
18 changed files with 26 additions and 17 deletions

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,4 @@
CORE CORE broken-smt-backend
main.v main.v
--bound 1 --bound 1
^EXIT=0$ ^EXIT=0$

View File

@ -1,4 +1,4 @@
CORE CORE broken-smt-backend
main.v main.v
--bound 1 --bound 1
^EXIT=0$ ^EXIT=0$

View File

@ -1,4 +1,4 @@
CORE CORE broken-smt-backend
bit-extract1.v bit-extract1.v
--bound 1 --bound 1
^EXIT=0$ ^EXIT=0$

View File

@ -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$

View File

@ -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$

View File

@ -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$

View File

@ -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$

View File

@ -1,4 +1,4 @@
CORE CORE broken-smt-backend
generate-for2.v generate-for2.v
--bound 0 --bound 0
^EXIT=0$ ^EXIT=0$

View File

@ -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$

View File

@ -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$

View File

@ -1,4 +1,4 @@
CORE CORE broken-smt-backend
main.sv main.sv
--bound 1 --bound 1
^EXIT=0$ ^EXIT=0$

View File

@ -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$

View File

@ -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$

View File

@ -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$

View File

@ -1,4 +1,4 @@
CORE CORE broken-smt-backend
main.v main.v
--bound 1 --bound 1
^EXIT=0$ ^EXIT=0$

View File

@ -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$