From 7f9f6faf0042283ba3f748d7965ba5411edd12ea Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Sun, 10 Mar 2019 14:19:34 +0000 Subject: Exclude testcases not compatible with MSan --- test/ArrayOpt/test_nier.c | 2 ++ test/Feature/CompressedExprLogging.c | 2 ++ test/Feature/LargeReturnTypes.cpp | 2 ++ test/Feature/MemoryLimit.c | 2 ++ 4 files changed, 8 insertions(+) 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). -- cgit 1.4.1