Skip to content

Commit

Permalink
Remove TODOs from 36-apron/21-traces-cluster-based (issue #1425)
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Apr 22, 2024
1 parent db226ff commit abb3ac5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/regression/36-apron/21-traces-cluster-based.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SKIP PARAM: --set ana.activated[+] apron --set ana.path_sens[+] threadflag --enable ana.sv-comp.functions
// SKIP PARAM: --set ana.activated[+] apron --set ana.path_sens[+] threadflag --enable ana.sv-comp.functions --set ana.relation.privatization mutex-meet
extern int __VERIFIER_nondet_int();

// TODO: rename? this doesn't require clusters
#include <pthread.h>
#include <goblint.h>

Expand Down Expand Up @@ -45,7 +45,7 @@ void *t3_fun(void *arg) {
y = h;
pthread_mutex_unlock(&A);
pthread_mutex_unlock(&B);
__goblint_check(y == x); // TODO (mutex-meet succeeds, protection unknown)
__goblint_check(y == x); // mutex-meet succeeds, protection unknown
return NULL;
}

Expand All @@ -63,9 +63,9 @@ int main(void) {
x = g;
y = h;
pthread_mutex_lock(&B);
__goblint_check(y == x); // TODO (mutex-meet succeeds, protection unknown)
__goblint_check(y == x); // mutex-meet succeeds, protection unknown
pthread_mutex_unlock(&B);
pthread_mutex_unlock(&A);
__goblint_check(y == x); // TODO (mutex-meet succeeds, protection unknown)
__goblint_check(y == x); // mutex-meet succeeds, protection unknown
return 0;
}

0 comments on commit abb3ac5

Please sign in to comment.