about summary refs log tree commit diff homepage
path: root/test
diff options
context:
space:
mode:
authorDan Liew <daniel.liew@imperial.ac.uk>2014-01-13 17:50:27 +0000
committerDan Liew <daniel.liew@imperial.ac.uk>2014-01-20 14:46:52 +0000
commit2914a43e42184efe46a7b28caccfbb54c781e795 (patch)
tree118da57c306e09d777e106b0899042fdd40f705d /test
parent6285c45683eacccf79ab7cffba75570cdb642570 (diff)
downloadklee-2914a43e42184efe46a7b28caccfbb54c781e795.tar.gz
Added Runtime/POSIX/lit.local.cfg file that prevents the POSIX
tests from being executed if not enabled at configure time.
Diffstat (limited to 'test')
-rw-r--r--test/Runtime/POSIX/lit.local.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Runtime/POSIX/lit.local.cfg b/test/Runtime/POSIX/lit.local.cfg
new file mode 100644
index 00000000..680351b7
--- /dev/null
+++ b/test/Runtime/POSIX/lit.local.cfg
@@ -0,0 +1,7 @@
+def getRoot(config):
+    if not config.parent:
+        return config
+    return getRoot(config.parent)
+
+if not getRoot(config).enable_posix_runtime:
+    config.unsupported = True