about summary refs log tree commit diff homepage
path: root/test
diff options
context:
space:
mode:
authorLukas Zaoral <lzaoral@redhat.com>2021-04-13 16:39:56 +0200
committerCristian Cadar <c.cadar@imperial.ac.uk>2021-04-18 18:34:39 +0100
commitb0aef8ebc9d53945549fc477558a4437baa46e2d (patch)
treedf4ff056c3c73c5dd044836cb8a5a038fa536208 /test
parentd309c4fa0ca2cd55e36cf1462b9057d6eb97a297 (diff)
downloadklee-b0aef8ebc9d53945549fc477558a4437baa46e2d.tar.gz
tests: Invoke tools through their corresponding macros
Diffstat (limited to 'test')
-rw-r--r--test/CXX/LandingPad.cpp2
-rw-r--r--test/Expr/Parser/Concat64.kquery2
-rw-r--r--test/Feature/PreferCex.c2
-rw-r--r--test/regression/2014-09-13-debug-info.c3
4 files changed, 4 insertions, 5 deletions
diff --git a/test/CXX/LandingPad.cpp b/test/CXX/LandingPad.cpp
index 66fd547c..18cad7c8 100644
--- a/test/CXX/LandingPad.cpp
+++ b/test/CXX/LandingPad.cpp
@@ -1,6 +1,6 @@
 // RUN: %clangxx %s -emit-llvm -c -o %t1.bc
 // RUN: rm -rf %t.klee-out
-// RUN: klee --output-dir=%t.klee-out %t1.bc 2>&1 | FileCheck %s
+// RUN: %klee --output-dir=%t.klee-out %t1.bc 2>&1 | FileCheck %s
 
 // CHECK: Using zero size array fix for landingpad instruction filter
 
diff --git a/test/Expr/Parser/Concat64.kquery b/test/Expr/Parser/Concat64.kquery
index 0b1479d4..fdf73db4 100644
--- a/test/Expr/Parser/Concat64.kquery
+++ b/test/Expr/Parser/Concat64.kquery
@@ -1,4 +1,4 @@
-# RUN: kleaver --print-ast %s
+# RUN: %kleaver --print-ast %s
 
 array arr1[8] : w32 -> w8 = symbolic
 (query [(Eq 0
diff --git a/test/Feature/PreferCex.c b/test/Feature/PreferCex.c
index 2d424206..39337cf5 100644
--- a/test/Feature/PreferCex.c
+++ b/test/Feature/PreferCex.c
@@ -1,7 +1,7 @@
 // RUN: %clang %s -emit-llvm %O0opt -c -o %t1.bc
 // RUN: rm -rf %t.klee-out
 // RUN: %klee --output-dir=%t.klee-out --exit-on-error %t1.bc
-// RUN: ktest-tool %t.klee-out/test000001.ktest | FileCheck %s
+// RUN: %ktest-tool %t.klee-out/test000001.ktest | FileCheck %s
 
 #include <assert.h>
 #include <stdlib.h>
diff --git a/test/regression/2014-09-13-debug-info.c b/test/regression/2014-09-13-debug-info.c
index ced6d49a..60b9c7f4 100644
--- a/test/regression/2014-09-13-debug-info.c
+++ b/test/regression/2014-09-13-debug-info.c
@@ -8,8 +8,7 @@
 // one with the prefered CEX. We verify this by using ktest-tool to dump the
 // values, and then checking the output.
 //
-// RUN: /bin/sh -c "ktest-tool %t.klee-out/*.ktest" > %t.data-values
-// RUN: FileCheck < %t.data-values %s
+// RUN: %ktest-tool %t.klee-out/*.ktest | FileCheck %s
 
 // CHECK-DAG: object 0: int : 0
 // CHECK-DAG: object 0: int : 17