diff options
| author | serpilliere <fabrice.desclaux@cea.fr> | 2016-04-25 00:14:48 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-04-26 11:05:41 +0200 |
| commit | f877d3c50f52be98f1233fb7c8e55268e3c6ed88 (patch) | |
| tree | 5a15d1b1b306898c6d4a336131c0fd67d1680d20 | |
| parent | 40b60e86b51d9bb47c1511344bf95a1072357b27 (diff) | |
| download | miasm-f877d3c50f52be98f1233fb7c8e55268e3c6ed88.tar.gz miasm-f877d3c50f52be98f1233fb7c8e55268e3c6ed88.zip | |
Test: add gcc tests
| -rw-r--r-- | test/test_all.py | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/test/test_all.py b/test/test_all.py index 53e8d513..9fbabe42 100644 --- a/test/test_all.py +++ b/test/test_all.py @@ -97,42 +97,42 @@ class QEMUTest(RegressionTest): # Test name -> supported jitter engines QEMU_TESTS = { # Operations - "btr": ("tcc", "python"), - "bts": ("tcc", "python"), - "bt": ("tcc", "python"), - "shrd": ("tcc", "python"), - "shld": ("tcc", "python"), - "rcl": ("tcc", "python"), - "rcr": ("tcc", "python"), - "ror": ("tcc", "python"), - "rol": ("tcc", "python"), - "sar": ("tcc", "python"), - "shr": ("tcc", "python"), - "shl": ("tcc", "python"), - "not": ("tcc", "python"), - "neg": ("tcc", "python"), - "dec": ("tcc", "python"), - "inc": ("tcc", "python"), - "sbb": ("tcc", "python"), - "adc": ("tcc", "python"), - "cmp": ("tcc", "python"), - "or": ("tcc", "python"), - "and": ("tcc", "python"), - "xor": ("tcc", "python"), - "sub": ("tcc", "python"), - "add": ("tcc", "python"), + "btr": ("tcc", "python", "gcc"), + "bts": ("tcc", "python", "gcc"), + "bt": ("tcc", "python", "gcc"), + "shrd": ("tcc", "python", "gcc"), + "shld": ("tcc", "python", "gcc"), + "rcl": ("tcc", "python", "gcc"), + "rcr": ("tcc", "python", "gcc"), + "ror": ("tcc", "python", "gcc"), + "rol": ("tcc", "python", "gcc"), + "sar": ("tcc", "python", "gcc"), + "shr": ("tcc", "python", "gcc"), + "shl": ("tcc", "python", "gcc"), + "not": ("tcc", "python", "gcc"), + "neg": ("tcc", "python", "gcc"), + "dec": ("tcc", "python", "gcc"), + "inc": ("tcc", "python", "gcc"), + "sbb": ("tcc", "python", "gcc"), + "adc": ("tcc", "python", "gcc"), + "cmp": ("tcc", "python", "gcc"), + "or": ("tcc", "python", "gcc"), + "and": ("tcc", "python", "gcc"), + "xor": ("tcc", "python", "gcc"), + "sub": ("tcc", "python", "gcc"), + "add": ("tcc", "python", "gcc"), # Specifics - "bsx": ("tcc", "python"), - "mul": ("tcc", "python"), - "jcc": ("tcc", "python"), - "loop": ("tcc", "python"), - "lea": ("tcc", "python"), - "self_modifying_code": ("tcc", "python"), - "conv": ("tcc", "python"), - "bcd": ("tcc", "python"), - "xchg": ("tcc", "python"), - "string": ("tcc", "python"), - "misc": ("tcc", "python"), + "bsx": ("tcc", "python", "gcc"), + "mul": ("tcc", "python", "gcc"), + "jcc": ("tcc", "python", "gcc"), + "loop": ("tcc", "python", "gcc"), + "lea": ("tcc", "python", "gcc"), + "self_modifying_code": ("tcc", "python", "gcc"), + "conv": ("tcc", "python", "gcc"), + "bcd": ("tcc", "python", "gcc"), + "xchg": ("tcc", "python", "gcc"), + "string": ("tcc", "python", "gcc"), + "misc": ("tcc", "python", "gcc"), # Unsupported # "floats", "segs", "code16", "exceptions", "single_step" } @@ -535,7 +535,7 @@ class ExampleJitter(Example): - script path begins with "jitter/" """ example_dir = "jitter" - jitter_engines = ["tcc", "llvm", "python"] + jitter_engines = ["tcc", "llvm", "python", "gcc"] for jitter in ExampleJitter.jitter_engines: |