diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-01-13 18:04:52 +0000 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2014-01-20 14:46:52 +0000 |
commit | 48ce6b94f4fe5131242ba87485cd79e081a991ed (patch) | |
tree | 4fac7a153d0d80f260d6229594c43dc3120fb895 /test/Runtime | |
parent | 2914a43e42184efe46a7b28caccfbb54c781e795 (diff) | |
download | klee-48ce6b94f4fe5131242ba87485cd79e081a991ed.tar.gz |
Only run SELinux test if support for SELinux was detected at configure
time.
Diffstat (limited to 'test/Runtime')
-rw-r--r-- | test/Runtime/POSIX/SELinux/SELinux.c (renamed from test/Runtime/POSIX/SELinux.c) | 0 | ||||
-rw-r--r-- | test/Runtime/POSIX/SELinux/lit.local.cfg | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/Runtime/POSIX/SELinux.c b/test/Runtime/POSIX/SELinux/SELinux.c index 65dd1a7f..65dd1a7f 100644 --- a/test/Runtime/POSIX/SELinux.c +++ b/test/Runtime/POSIX/SELinux/SELinux.c diff --git a/test/Runtime/POSIX/SELinux/lit.local.cfg b/test/Runtime/POSIX/SELinux/lit.local.cfg new file mode 100644 index 00000000..2046d4d0 --- /dev/null +++ b/test/Runtime/POSIX/SELinux/lit.local.cfg @@ -0,0 +1,7 @@ +def getRoot(config): + if not config.parent: + return config + return getRoot(config.parent) + +if not getRoot(config).have_selinux: + config.unsupported = True |