about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2019-03-10 14:19:34 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2019-03-12 16:41:27 +0000
commit7f9f6faf0042283ba3f748d7965ba5411edd12ea (patch)
tree8c277a3b35f1798f7adc905df79cb529bbc6775b
parent74c432e6c46f4c570a14b46346b208aeb8b5e0fa (diff)
downloadklee-7f9f6faf0042283ba3f748d7965ba5411edd12ea.tar.gz
Exclude testcases not compatible with MSan
-rw-r--r--test/ArrayOpt/test_nier.c2
-rw-r--r--test/Feature/CompressedExprLogging.c2
-rw-r--r--test/Feature/LargeReturnTypes.cpp2
-rw-r--r--test/Feature/MemoryLimit.c2
4 files changed, 8 insertions, 0 deletions
diff --git a/test/ArrayOpt/test_nier.c b/test/ArrayOpt/test_nier.c
index a805c66c..2c02f114 100644
--- a/test/ArrayOpt/test_nier.c
+++ b/test/ArrayOpt/test_nier.c
@@ -1,3 +1,5 @@
+// REQUIRES: not-msan
+// Ignore msan: Generates a large stack trace > 8k but not a stack overflow for larger stacks
 // RUN: %clang %s -emit-llvm %O0opt -c -o %t.bc
 // RUN: rm -rf %t.klee-out
 // RUN: %klee --write-kqueries --output-dir=%t.klee-out --optimize-array=index %t.bc > %t.log 2>&1
diff --git a/test/Feature/CompressedExprLogging.c b/test/Feature/CompressedExprLogging.c
index 87c8b8b0..42c42402 100644
--- a/test/Feature/CompressedExprLogging.c
+++ b/test/Feature/CompressedExprLogging.c
@@ -1,3 +1,5 @@
+// REQUIRES: not-msan
+// Requires instrumented zlib linked
 // REQUIRES: zlib
 // RUN: %clang %s -emit-llvm -g %O0opt -c -o %t1.bc
 // We disable the cex-cache to eliminate nondeterminism across different
diff --git a/test/Feature/LargeReturnTypes.cpp b/test/Feature/LargeReturnTypes.cpp
index 4adcc5ce..c0b046cc 100644
--- a/test/Feature/LargeReturnTypes.cpp
+++ b/test/Feature/LargeReturnTypes.cpp
@@ -1,3 +1,5 @@
+// REQUIRES: not-msan
+// Requires instrumented C++ library for msan
 // REQUIRES: not-darwin
 // RUN: %clangxx -g -fno-exceptions -emit-llvm %O0opt -c -o %t.bc %s
 // RUN: rm -rf %t.klee-out
diff --git a/test/Feature/MemoryLimit.c b/test/Feature/MemoryLimit.c
index d1139aed..30d291e1 100644
--- a/test/Feature/MemoryLimit.c
+++ b/test/Feature/MemoryLimit.c
@@ -1,3 +1,5 @@
+// REQUIRES: not-memsan
+// Memsan adds additional memory that overflows the counter
 // Check that we properly kill states when we exceed our memory bounds, for both
 // small and large allocations (large allocations commonly use mmap(), which can
 // follow a separate path in the allocator and statistics reporting).