Skip to content

Commit 570a301

Browse files
authored
Merge pull request #365 from diffblue/test-verilog-z3
CI: run the Verilog tests with Z3
2 parents 9b1c261 + de67aaf commit 570a301

File tree

18 files changed

+26
-17
lines changed

18 files changed

+26
-17
lines changed

.github/workflows/pull-request-checks.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ jobs:
4949
run: make -C regression/ebmc test-z3
5050
- name: Run the verilog tests
5151
run: make -C regression/verilog test
52+
- name: Run the verilog tests with Z3
53+
run: make -C regression/verilog test-z3
5254
- name: Print ccache stats
5355
run: ccache -s
5456

@@ -100,6 +102,8 @@ jobs:
100102
run: make -C regression/ebmc test-z3
101103
- name: Run the verilog tests
102104
run: make -C regression/verilog test
105+
- name: Run the verilog tests with Z3
106+
run: make -C regression/verilog test-z3
103107
- name: Print ccache stats
104108
run: ccache -s
105109

regression/verilog/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
default: test
22

3+
TEST_PL = ../../lib/cbmc/regression/test.pl
4+
35
test:
4-
@../../lib/cbmc/regression/test.pl -c ../../../src/ebmc/ebmc
6+
@$(TEST_PL) -c ../../../src/ebmc/ebmc
7+
8+
test-z3:
9+
@$(TEST_PL) -e -p -c "../../../src/ebmc/ebmc --z3" -X broken-smt-backend

regression/verilog/assignment-to-concatenation/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE broken-smt-backend
22
main.v
33
--bound 1
44
^EXIT=0$

regression/verilog/assignment-to-range1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE broken-smt-backend
22
main.v
33
--bound 1
44
^EXIT=0$

regression/verilog/bit-extract/bit-extract1.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE broken-smt-backend
22
bit-extract1.v
33
--bound 1
44
^EXIT=0$

regression/verilog/bit-extract/bit-extract2.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE broken-smt-backend
22
bit-extract2.v
33
--module main --bound 1 --trace
44
^EXIT=10$

regression/verilog/case/case3.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE broken-smt-backend
22
case3.v
33
--module main --bound 3 --trace
44
^EXIT=10$

regression/verilog/case/case4.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE broken-smt-backend
22
case4.v
33
--module main --bound 1
44
^EXIT=0$

regression/verilog/functioncall/functioncall3.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE broken-smt-backend
22
functioncall3.v
33
--module main --bound 0
44
^EXIT=0$

regression/verilog/generate/generate-for2.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE broken-smt-backend
22
generate-for2.v
33
--bound 0
44
^EXIT=0$

0 commit comments

Comments
 (0)