about summary refs log tree commit diff homepage
path: root/test/lit.site.cfg.in
diff options
context:
space:
mode:
authorDan Liew <daniel.liew@imperial.ac.uk>2014-01-13 18:04:52 +0000
committerDan Liew <daniel.liew@imperial.ac.uk>2014-01-20 14:46:52 +0000
commit48ce6b94f4fe5131242ba87485cd79e081a991ed (patch)
tree4fac7a153d0d80f260d6229594c43dc3120fb895 /test/lit.site.cfg.in
parent2914a43e42184efe46a7b28caccfbb54c781e795 (diff)
downloadklee-48ce6b94f4fe5131242ba87485cd79e081a991ed.tar.gz
Only run SELinux test if support for SELinux was detected at configure
time.
Diffstat (limited to 'test/lit.site.cfg.in')
-rw-r--r--test/lit.site.cfg.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in
index 11159415..6fc3d49c 100644
--- a/test/lit.site.cfg.in
+++ b/test/lit.site.cfg.in
@@ -16,6 +16,7 @@ config.llvmgxx = "@LLVMCXX@"
 # Features
 config.enable_uclibc = True if @ENABLE_UCLIBC@ == 1 else False
 config.enable_posix_runtime = True if @ENABLE_POSIX_RUNTIME@ == 1 else False
+config.have_selinux = True if @HAVE_SELINUX@ == 1 else False
 
 # Current target
 config.target_triple = "@TARGET_TRIPLE@"