about summary refs log tree commit diff homepage
path: root/test
diff options
context:
space:
mode:
authorMatthis Gördel <matthis@posteo.de>2022-12-20 16:07:51 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2023-01-06 09:36:04 +0000
commitfc778afc9029c48b78aa59c20cdf3e8223a88081 (patch)
tree62b9055b8db118a90d7305ca7072e6c6b4827707 /test
parent67805a68b233342f76011a74951bb59911721d74 (diff)
downloadklee-fc778afc9029c48b78aa59c20cdf3e8223a88081.tar.gz
fix output check in test const_arr_opt1
Diffstat (limited to 'test')
-rw-r--r--test/Feature/const_array_opt1.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Feature/const_array_opt1.c b/test/Feature/const_array_opt1.c
index f633e659..1776e9d8 100644
--- a/test/Feature/const_array_opt1.c
+++ b/test/Feature/const_array_opt1.c
@@ -1,7 +1,8 @@
+// REQUIRES: not-msan
+// Disabling msan because it times out on CI
 // RUN: %clang %s -emit-llvm %O0opt -c -o %t.bc
 // RUN: rm -rf %t.klee-out
-// RUN: %klee --output-dir=%t.klee-out --const-array-opt --max-time=10 --only-output-states-covering-new %t.bc >%t.log
-// grep -q "Finished successfully!\n"
+// RUN: %klee --output-dir=%t.klee-out --const-array-opt --max-time=10 --only-output-states-covering-new %t.bc | FileCheck %s
 
 /* This is testing the const array optimization.  On my 2.3GHz machine
    this takes under 2 seconds w/ the optimization and almost 6 minutes
@@ -32,6 +33,7 @@ int main() {
     else klee_silent_exit(0);
   }
 
+  // CHECK: Finished successfully!
   printf("Finished successfully!\n");
 
   return 0;