about summary refs log tree commit diff stats
path: root/test/test_all.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2015-12-23 16:37:16 +0100
committerAjax <commial@gmail.com>2017-01-04 17:14:55 +0100
commita993473c6e2b4225c629eeb88eae98f7ee655333 (patch)
treeb816cfe6c706caffca42b052c9d69a806a9876db /test/test_all.py
parent2b93bc6682f3a08a5eccccefa135535708434f9e (diff)
downloadmiasm-a993473c6e2b4225c629eeb88eae98f7ee655333.tar.gz
miasm-a993473c6e2b4225c629eeb88eae98f7ee655333.zip
Ugly modification to have llvm work again
Diffstat (limited to 'test/test_all.py')
-rw-r--r--test/test_all.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/test_all.py b/test/test_all.py
index 62f1cd4b..78e97be1 100644
--- a/test/test_all.py
+++ b/test/test_all.py
@@ -55,7 +55,7 @@ class ArchUnitTest(RegressionTest):
 
 # script -> blacklisted jitter
 blacklist = {
-    "x86/unit/mn_float.py": ["python"],
+    "x86/unit/mn_float.py": ["python", "llvm"],
 }
 for script in ["x86/sem.py",
                "x86/unit/mn_strings.py",
@@ -684,7 +684,7 @@ By default, no tag is omitted." % ", ".join(TAGS.keys()), default="")
     # Handle llvm modularity
     llvm = True
     try:
-        import llvm
+        import llvmlite
     except ImportError:
         llvm = False
 
@@ -695,9 +695,6 @@ By default, no tag is omitted." % ", ".join(TAGS.keys()), default="")
     except ImportError:
         tcc = False
 
-    # TODO XXX: fix llvm jitter (deactivated for the moment)
-    llvm = False
-
     if llvm is False:
         print "%(red)s[LLVM]%(end)s Python" % cosmetics.colors + \
             "'py-llvm 3.2' module is required for llvm tests"