Skip to content

Commit 205e123

Browse files
committed
De-duplicate contracts regression tests (part 2)
Removal of duplicates based on a manual review of the diff between test directories of the same name.
1 parent 01fd5ea commit 205e123

File tree

82 files changed

+50
-1365
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+50
-1365
lines changed

regression/contracts-dfcc/assigns-local-composite/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE dfcc-only
1+
CORE
22
main.c
33
--dfcc main --enforce-contract foo
44
^EXIT=0$

regression/contracts-dfcc/assigns_enforce_functions_in_contracts/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE dfcc-only
1+
CORE
22
main.c
33
--dfcc main --enforce-contract foo
44
^EXIT=0$

regression/contracts-dfcc/assigns_replace_havoc_dependent_targets_fail/enforce.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE dfcc-only
1+
CORE
22
main_enforce.c
33
--dfcc main --enforce-contract resize_vec _ --signed-overflow-check --unsigned-overflow-check --pointer-overflow-check
44
^VERIFICATION SUCCESSFUL$

regression/contracts-dfcc/assigns_validity_pointer_02/test.desc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
CORE dfcc-only
1+
CORE
22
main.c
33
--dfcc main --enforce-contract foo
44
^EXIT=0$
55
^SIGNAL=0$
6-
^\[foo.postcondition.\d+\].*Check ensures clause of contract contract::foo for function foo: SUCCESS$
6+
^\[foo.postcondition.\d+\] line \d+ Check ensures clause( of contract contract::foo for function foo)?: SUCCESS$
77
^\[bar.assigns.\d+\] line \d+ Check that \*x is assignable: SUCCESS$
88
^\[bar.assigns.\d+\] line \d+ Check that \*y is assignable: SUCCESS$
99
^\[baz.assigns.\d+\] line \d+ Check that \*z is assignable: SUCCESS$

regression/contracts-dfcc/function_check_01/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE dfcc-only
1+
CORE
22
main.c
33
--dfcc main --replace-call-with-contract min
44
^EXIT=0$

regression/contracts-dfcc/function_check_03/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG dfcc-only
1+
KNOWNBUG
22
main.c
33
--dfcc main --check-code-contracts
44
^EXIT=0$

regression/contracts-dfcc/function_check_04/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG dfcc-only
1+
KNOWNBUG
22
main.c
33
--dfcc main --apply-code-contracts
44
^EXIT=10$

regression/contracts-dfcc/function_check_05/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG dfcc-only
1+
KNOWNBUG
22
main.c
33
--dfcc main --check-code-contracts
44
^EXIT=0$

regression/contracts-dfcc/function_check_mem_01/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG dfcc-only
1+
KNOWNBUG
22
main.c
33
--dfcc main --check-code-contracts
44
^EXIT=0$

regression/contracts-dfcc/history-pointer-enforce-09/test.desc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
CORE dfcc-only
1+
CORE
22
main.c
33
--dfcc main --enforce-contract foo
44
^EXIT=0$
55
^SIGNAL=0$
6-
^\[foo.postcondition.\d+\] line \d+ Check ensures clause of contract contract::foo for function foo: SUCCESS$
6+
^\[foo.postcondition.\d+\] line \d+ Check ensures clause( of contract contract::foo for function foo)?: SUCCESS$
77
^\[foo.assigns.\d+\] line \d+ Check that p->y is assignable: SUCCESS$
88
^VERIFICATION SUCCESSFUL$
99
--

0 commit comments

Comments
 (0)