From ae6da669e546d2ac0881da2c898c01f28b7ed7e2 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Wed, 13 Mar 2019 13:28:48 +0000 Subject: Fix libc++ testcases * remove wrapper script invocation and script * add build instruction to test cases * added additional checks * add check to avoid execution of tests if KLEE is not compiled with libc++ --- test/CXX/symex/libc++/atexit.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/CXX/symex/libc++/atexit.cpp') diff --git a/test/CXX/symex/libc++/atexit.cpp b/test/CXX/symex/libc++/atexit.cpp index 3d9e6834..79be6aa2 100644 --- a/test/CXX/symex/libc++/atexit.cpp +++ b/test/CXX/symex/libc++/atexit.cpp @@ -1,4 +1,7 @@ -// RUN: sh %S/compile_with_libcxx.sh "%llvmgxx" "%s" "%S" "%t" "%klee" "%libcxx_include" | FileCheck %s +// REQUIRES: libcxx +// RUN: %clangxx %s -emit-llvm %O0opt -c -std=c++11 -I "%libcxx_include" -g -nostdinc++ -o %t1.bc +// RUN: rm -rf %t.klee-out +// RUN: %klee --output-dir=%t.klee-out --exit-on-error --libc=uclibc --libcxx %t1.bc | FileCheck %s // // CHECK: Returning from main // CHECK: atexit_1 -- cgit 1.4.1