Skip to content

Commit feeab2b

Browse files
committed
Add extra regexes to object_bits tests
To make it clear that 2 successes and one failure are expected.
1 parent c67a10f commit feeab2b

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

regression/goto-cc-cbmc-shared-options/object-bits/default_bits.desc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ test.c
44
^EXIT=10$
55
^SIGNAL=0$
66
^VERIFICATION FAILED$
7+
assertion object_bits != 6: SUCCESS
78
assertion object_bits != 8: FAILURE
9+
assertion object_bits != 10: SUCCESS
810
--
911
^warning: ignoring
1012
--

regression/goto-cc-cbmc-shared-options/object-bits/fewer_bits.desc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ test.c
55
^SIGNAL=0$
66
^VERIFICATION FAILED$
77
assertion object_bits != 6: FAILURE
8+
assertion object_bits != 8: SUCCESS
9+
assertion object_bits != 10: SUCCESS
810
--
911
^warning: ignoring
1012
--

regression/goto-cc-cbmc-shared-options/object-bits/more_bits.desc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ test.c
44
^EXIT=10$
55
^SIGNAL=0$
66
^VERIFICATION FAILED$
7+
assertion object_bits != 6: SUCCESS
8+
assertion object_bits != 8: SUCCESS
79
assertion object_bits != 10: FAILURE
810
--
911
^warning: ignoring

0 commit comments

Comments
 (0)