Skip to content

Commit 182e44b

Browse files
committed
More tests adjusted
1 parent a810101 commit 182e44b

File tree

9 files changed

+10
-8
lines changed

9 files changed

+10
-8
lines changed

regression/cbmc/Float-div2/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE broken-z3-smt-backend no-new-smt
22
main.c
3-
--floatbv
3+
--floatbv --no-built-in-assertions
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/cbmc/Float-div3/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE broken-z3-smt-backend no-new-smt
22
main.c
3-
--floatbv
3+
--floatbv --no-built-in-assertions
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/cbmc/Malloc11/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
--pointer-check
3+
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$

regression/cbmc/Pointer_byte_extract2/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ main.c
44
^EXIT=10$
55
^SIGNAL=0$
66
^\[main\.assertion\.2\] .*: FAILURE$
7-
^\*\* 1 of 2 failed
7+
^\*\* 2 of 4 failed
88
--
99
^warning: ignoring

regression/cbmc/cover-failed-assertions/test-no-failed-assertions.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE paths-lifo-expected-failure
22
test.c
3-
--cover location --pointer-check --malloc-may-fail --malloc-fail-null
3+
--cover location --malloc-may-fail --malloc-fail-null
44
\[main\.coverage\.4\] file test\.c line \d+ function main block 4 \(lines test\.c:main:17,18\): SATISFIED
55
\[main\.coverage\.3\] file test\.c line \d+ function main block 3 \(lines test\.c:main:15\): FAILED
66
\[main\.coverage\.2\] file test\.c line \d+ function main block 2 \(lines test\.c:main:5,6,12,14\): SATISFIED

regression/cbmc/cover-failed-assertions/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE paths-lifo-expected-failure
22
test.c
3-
--cover location --cover-failed-assertions --pointer-check --malloc-may-fail --malloc-fail-null
3+
--cover location --cover-failed-assertions --malloc-may-fail --malloc-fail-null
44
\[main.coverage\.4\] file test\.c line \d+ function main block 4 \(lines test\.c:main:17,18\): SATISFIED
55
\[main.coverage\.3\] file test\.c line \d+ function main block 3 \(lines test\.c:main:15\): SATISFIED
66
\[main.coverage\.2\] file test\.c line \d+ function main block 2 \(lines test\.c:main:5,6,12,14\): SATISFIED

regression/cbmc/coverage_report2/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
main.c
3-
--symex-coverage-report - --unwind 1
3+
--symex-coverage-report - --unwind 1 --unwinding-assertions
44
<line branch="true" condition-coverage="50% \(1/2\)" hits="2" number="3">
55
^EXIT=0$
66
^SIGNAL=0$
Binary file not shown.

regression/cbmc/pragma_cprover_enable2/test.desc

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ main.c
66
^\[main\.overflow\.3\] line 15 arithmetic overflow on signed \+ in n \+ 1: FAILURE$
77
^\[main\.overflow\.4\] line 16 arithmetic overflow on signed \+ in n \+ 1: FAILURE$
88
^\[main\.overflow\.5\] line 17 arithmetic overflow on signed \+ in x \+ n: FAILURE$
9-
^\*\* 5 of \d+ failed
9+
^\[main\.overflow\.6\] line 20 arithmetic overflow on signed \+ in n \+ n: FAILURE$
10+
^\[main\.overflow\.7\] line 21 arithmetic overflow on signed \+ in x \+ n: FAILURE$
11+
^\*\* 7 of \d+ failed
1012
^VERIFICATION FAILED$
1113
^EXIT=10$
1214
^SIGNAL=0$

0 commit comments

Comments
 (0)