about summary refs log tree commit diff homepage
path: root/test
diff options
context:
space:
mode:
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;