about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorDan Liew <daniel.liew@imperial.ac.uk>2014-01-13 18:58:14 +0000
committerDan Liew <daniel.liew@imperial.ac.uk>2014-01-20 14:46:52 +0000
commite2f56b6bbb4bee1d1384b2b23930e108449d30b2 (patch)
tree8a3f210a8a3eaf064d20b4e22dc01d5739072d0f
parentb58f5e78a9f3c161f7c8589bf5430a36ee33baf6 (diff)
downloadklee-e2f56b6bbb4bee1d1384b2b23930e108449d30b2.tar.gz
Only run klee-uclibc tests if KLEE was configured with klee-uclibc
support.
-rw-r--r--test/Runtime/Uclibc/lit.local.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Runtime/Uclibc/lit.local.cfg b/test/Runtime/Uclibc/lit.local.cfg
new file mode 100644
index 00000000..c9944834
--- /dev/null
+++ b/test/Runtime/Uclibc/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_uclibc:
+    config.unsupported = True