diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2015-04-19 18:52:05 +0100 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2015-04-19 18:52:05 +0100 |
commit | 78990d9b36a86fabd5860d9d1159d5df2e2afc69 (patch) | |
tree | ad0f7b4e5a6ebc130034cc6e109c2601929b92ad | |
parent | 6dcb2936e257835cc8467c58df29159429661f13 (diff) | |
download | klee-78990d9b36a86fabd5860d9d1159d5df2e2afc69.tar.gz |
Fixed RewriteEqualities input to be more resilient to differences in compilation.
-rw-r--r-- | test/Feature/RewriteEqualities.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Feature/RewriteEqualities.c b/test/Feature/RewriteEqualities.c index 2a89057f..3cb9c5fe 100644 --- a/test/Feature/RewriteEqualities.c +++ b/test/Feature/RewriteEqualities.c @@ -1,8 +1,8 @@ -// XFAIL: * // RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --search=dfs --write-pcs --rewrite-equalities=false %t.bc -// RUN: grep "(Read w8 (Extract w32 0 (SExt w64 (ZExt w32 N0)))" %t.klee-out/test000003.pc +// RUN: grep "N0:(Read w8 2 x)" %t.klee-out/test000003.pc +// RUN: grep "N0)" %t.klee-out/test000003.pc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --search=dfs --write-pcs --rewrite-equalities %t.bc // RUN: grep "(Read w8 8 const_arr1)" %t.klee-out/test000003.pc @@ -10,7 +10,7 @@ #include <stdio.h> #include <klee/klee.h> -int run(unsigned char * x, char * y) { +int run(unsigned char * x, unsigned char * y) { y[6] = 15; if(x[2] >= 10){ |