From fc778afc9029c48b78aa59c20cdf3e8223a88081 Mon Sep 17 00:00:00 2001 From: Matthis Gördel Date: Tue, 20 Dec 2022 16:07:51 +0100 Subject: fix output check in test const_arr_opt1 --- test/Feature/const_array_opt1.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test') 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; -- cgit 1.4.1