about summary refs log tree commit diff homepage
path: root/test/Runtime/Uclibc
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2014-01-21 05:41:25 -0800
committerCristian Cadar <c.cadar@imperial.ac.uk>2014-01-21 05:41:25 -0800
commite49c1e1958e863195b01d99c92194289b4034bbb (patch)
treeee305c933ea7b653f769fe209601ca963938e16d /test/Runtime/Uclibc
parentf626bdb1905c4d56fdcca04cd6ee84acb7597431 (diff)
parentebc387f1181ca39cd72fe8ef27a535cd0c674bcf (diff)
downloadklee-e49c1e1958e863195b01d99c92194289b4034bbb.tar.gz
Merge pull request #92 from delcypher/fix_llvm-lit
Move testing infrastructure to llvm-lit and completly remove all DejaGNU support
Diffstat (limited to 'test/Runtime/Uclibc')
-rw-r--r--test/Runtime/Uclibc/dg.exp5
-rw-r--r--test/Runtime/Uclibc/lit.local.cfg7
2 files changed, 7 insertions, 5 deletions
diff --git a/test/Runtime/Uclibc/dg.exp b/test/Runtime/Uclibc/dg.exp
deleted file mode 100644
index 9c1663c3..00000000
--- a/test/Runtime/Uclibc/dg.exp
+++ /dev/null
@@ -1,5 +0,0 @@
-load_lib llvm.exp
-
-if { [klee_supports_uclibc] } {
-    RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
-}
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