Skip to content

Commit a17e50d

Browse files
committed
Specify witness.yaml.entry-types location/loop_invariant in witness tests with old YAML witnesses
1 parent b074df8 commit a17e50d

Some content is hidden

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

43 files changed

+43
-43
lines changed

tests/regression/56-witness/01-base-lor-enums.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// PARAM: --enable ana.int.enums --set witness.yaml.validate 01-base-lor-enums.yml
1+
// PARAM: --enable ana.int.enums --set witness.yaml.entry-types[*] location_invariant --set witness.yaml.validate 01-base-lor-enums.yml
22

33
int main() {
44
int r; // rand

tests/regression/56-witness/02-base-lor-addr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// PARAM: --set witness.yaml.validate 02-base-lor-addr.yml
1+
// PARAM: --set witness.yaml.entry-types[*] location_invariant --set witness.yaml.validate 02-base-lor-addr.yml
22

33
int main() {
44
int r; // rand

tests/regression/56-witness/03-int-log-short.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// PARAM: --set witness.yaml.validate 03-int-log-short.yml
1+
// PARAM: --set witness.yaml.entry-types[*] location_invariant --set witness.yaml.validate 03-int-log-short.yml
22

33
int main() {
44
int r;

tests/regression/56-witness/04-base-priv-sync-prune.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SKIP PARAM: --set ana.base.privatization write+lock --enable ana.int.interval --set witness.yaml.validate 04-base-priv-sync-prune.yml
1+
// SKIP PARAM: --set ana.base.privatization write+lock --enable ana.int.interval --set witness.yaml.entry-types[*] location_invariant --set witness.yaml.validate 04-base-priv-sync-prune.yml
22
// TODO: fix unsoundness in base priv syncs
33
#include <pthread.h>
44

tests/regression/56-witness/07-base-lor-interval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// PARAM: --enable ana.int.interval --set witness.yaml.validate 07-base-lor-interval.yml
1+
// PARAM: --enable ana.int.interval --set witness.yaml.entry-types[*] location_invariant --set witness.yaml.validate 07-base-lor-interval.yml
22
#include <goblint.h>
33

44
int main() {

tests/regression/56-witness/10-apron-unassume-interval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SKIP PARAM: --set ana.activated[+] apron --set ana.apron.domain polyhedra --set ana.activated[+] unassume --set witness.yaml.unassume 10-apron-unassume-interval.yml
1+
// SKIP PARAM: --set ana.activated[+] apron --set ana.apron.domain polyhedra --set witness.yaml.entry-types[*] loop_invariant --set ana.activated[+] unassume --set witness.yaml.unassume 10-apron-unassume-interval.yml
22
#include <assert.h>
33
// Using polyhedra instead of octagon, because the former has no narrowing and really needs the witness.
44
int main() {

tests/regression/56-witness/11-base-unassume-interval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SKIP PARAM: --enable ana.int.interval --set ana.activated[+] unassume --set witness.yaml.unassume 11-base-unassume-interval.yml
1+
// SKIP PARAM: --enable ana.int.interval --set witness.yaml.entry-types[*] loop_invariant --set ana.activated[+] unassume --set witness.yaml.unassume 11-base-unassume-interval.yml
22
#include <assert.h>
33

44
int main() {

tests/regression/56-witness/12-apron-unassume-branch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SKIP PARAM: --set ana.activated[+] apron --set ana.activated[+] unassume --set witness.yaml.unassume 12-apron-unassume-branch.yml --set ana.apron.domain polyhedra --enable ana.widen.tokens
1+
// SKIP PARAM: --set ana.activated[+] apron --set witness.yaml.entry-types[*] location_invariant --set ana.activated[+] unassume --set witness.yaml.unassume 12-apron-unassume-branch.yml --set ana.apron.domain polyhedra --enable ana.widen.tokens
22
#include <assert.h>
33
// Uses polyhedra instead of octagon such that widening tokens are actually needed by test instead of narrowing.
44
int main() {

tests/regression/56-witness/13-base-unassume-branch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SKIP PARAM: --enable ana.int.interval --set ana.activated[+] unassume --set witness.yaml.unassume 13-base-unassume-branch.yml
1+
// SKIP PARAM: --enable ana.int.interval --set witness.yaml.entry-types[*] location_invariant --set ana.activated[+] unassume --set witness.yaml.unassume 13-base-unassume-branch.yml
22
#include <assert.h>
33

44
int main() {

tests/regression/56-witness/14-base-unassume-precondition.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// PARAM: --enable ana.int.interval --set ana.activated[+] unassume --set witness.yaml.unassume 14-base-unassume-precondition.yml --set witness.yaml.entry-types[+] precondition_loop_invariant
1+
// PARAM: --enable ana.int.interval --set ana.activated[+] unassume --set witness.yaml.unassume 14-base-unassume-precondition.yml --set witness.yaml.entry-types[+] loop_invariant --set witness.yaml.entry-types[+] precondition_loop_invariant
22
#include <assert.h>
33

44
void foo(int n) {

0 commit comments

Comments
 (0)