diff options
| author | Ajax <commial@gmail.com> | 2016-06-29 10:21:11 +0200 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2016-09-01 17:34:50 +0200 |
| commit | 3071a5a9e56fdc042abd13a2aced37d1cf81828e (patch) | |
| tree | 2542e574648520be4711147bda48e59e677c7acc | |
| parent | 66fc48bae3083bdd1dc0bf72a5a0327bbe16aaf4 (diff) | |
| download | miasm-3071a5a9e56fdc042abd13a2aced37d1cf81828e.tar.gz miasm-3071a5a9e56fdc042abd13a2aced37d1cf81828e.zip | |
Enable "python" jitter on AsmUnitTest, except some
| -rw-r--r-- | test/test_all.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/test_all.py b/test/test_all.py index 72975801..7b878c89 100644 --- a/test/test_all.py +++ b/test/test_all.py @@ -48,12 +48,15 @@ testset += RegressionTest(["x86/arch.py"], base_dir="arch", class ArchUnitTest(RegressionTest): """Test against arch unit regression tests""" - jitter_engines = ["tcc", "llvm", "gcc"] + jitter_engines = ["tcc", "llvm", "gcc", "python"] def __init__(self, script, jitter ,*args, **kwargs): super(ArchUnitTest, self).__init__([script, jitter], *args, **kwargs) - +# script -> blacklisted jitter +blacklist = { + "x86/unit/mn_float.py": ["python"], +} for script in ["x86/sem.py", "x86/unit/mn_strings.py", "x86/unit/mn_float.py", @@ -83,6 +86,8 @@ for script in ["x86/sem.py", "mips32/unit/mn_bcc.py", ]: for jitter in ArchUnitTest.jitter_engines: + if jitter in blacklist.get(script, []): + continue tags = [TAGS[jitter]] if jitter in TAGS else [] testset += ArchUnitTest(script, jitter, base_dir="arch", tags=tags) |