about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorGleb Popov <6yearold@gmail.com>2019-05-05 18:18:52 +0400
committerCristian Cadar <c.cadar@imperial.ac.uk>2019-05-06 10:51:27 +0100
commit0edd1ec26d22bc353e817488d43f493409b3e60d (patch)
tree2be4b784fd39eec00f771e306d9c8bbe472b96a3
parent27781b6335b9c139dc6cacf5e206289c0fec7c54 (diff)
downloadklee-0edd1ec26d22bc353e817488d43f493409b3e60d.tar.gz
Add 'freebsd' feature in lit.cfg and use it to XFAIL LargeReturnTypes.cpp test.
-rw-r--r--test/Feature/LargeReturnTypes.cpp1
-rw-r--r--test/lit.cfg2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/Feature/LargeReturnTypes.cpp b/test/Feature/LargeReturnTypes.cpp
index 54a040e2..8db961f9 100644
--- a/test/Feature/LargeReturnTypes.cpp
+++ b/test/Feature/LargeReturnTypes.cpp
@@ -1,6 +1,7 @@
 // REQUIRES: not-msan
 // Requires instrumented C++ library for msan
 // REQUIRES: not-darwin
+// REQUIRES: not-freebsd
 // RUN: %clangxx -g -fno-exceptions -emit-llvm %O0opt -c -o %t.bc %s
 // RUN: rm -rf %t.klee-out
 // RUN: %klee --output-dir=%t.klee-out --libc=klee --write-no-tests --exit-on-error %t.bc > %t.log
diff --git a/test/lit.cfg b/test/lit.cfg
index 131369f8..fb479a86 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -195,7 +195,7 @@ if config.enable_libcxx:
   config.available_features.add('{}libcxx'.format('' if config.enable_libcxx else 'not-'))
 
 # Target operating system features
-supported_targets = ['linux', 'darwin']
+supported_targets = ['linux', 'darwin', 'freebsd']
 for target in supported_targets:
   if config.target_triple.find(target) != -1:
     config.available_features.add(target)