diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2015-01-09 17:45:21 +0100 |
|---|---|---|
| committer | Camille Mougey <camille.mougey@cea.fr> | 2015-01-23 17:24:42 +0100 |
| commit | 2694784814818ab61efcb5711a8bd2649532f014 (patch) | |
| tree | 8393c31e795ba1499f552fe8071b0be6f5d710b4 /test/test_all.py | |
| parent | dfc2f102e8848c15d7a87a3fc000396eb347bbc4 (diff) | |
| download | miasm-2694784814818ab61efcb5711a8bd2649532f014.tar.gz miasm-2694784814818ab61efcb5711a8bd2649532f014.zip | |
Example: Rename Test Dis to Disasm Full
Diffstat (limited to 'test/test_all.py')
| -rw-r--r-- | test/test_all.py | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/test/test_all.py b/test/test_all.py index 11de10b2..aea5b885 100644 --- a/test/test_all.py +++ b/test/test_all.py @@ -120,33 +120,35 @@ for script in [["disasm_single_instr.py"], ]: testset += Example(script) ## Expression -class ExampleTestDis(Example): +class ExampleDisasmFull(Example): """TestDis specificities: - - script: test_dis.py + - script: disasm_full.py - flags: -g -s - @products: graph_execflow.txt, graph_irflow.txt, lines.txt, out.txt """ def __init__(self, *args, **kwargs): - super(ExampleTestDis, self).__init__(*args, **kwargs) - self.command_line = ["test_dis.py", "-g", "-s"] + self.command_line + super(ExampleDisasmFull, self).__init__(*args, **kwargs) + self.command_line = ["disasm_full.py", "-g", "-s"] + self.command_line self.products += ["graph_execflow.txt", "graph_irflow.txt", "lines.txt", "out.txt"] -testset += ExampleTestDis(["arml", "demo_arm_l.bin", "0"], depends=[test_arm]) -testset += ExampleTestDis(["armb", "demo_arm_b.bin", "0"], depends=[test_arm]) -testset += ExampleTestDis(["armtl", "demo_armt_l.bin", "0"], +testset += ExampleDisasmFull(["arml", "demo_arm_l.bin", "0"], + depends=[test_arm]) +testset += ExampleDisasmFull(["armb", "demo_arm_b.bin", "0"], + depends=[test_arm]) +testset += ExampleDisasmFull(["armtl", "demo_armt_l.bin", "0"], depends=[test_armt]) -testset += ExampleTestDis(["armtb", "demo_armt_b.bin", "0"], +testset += ExampleDisasmFull(["armtb", "demo_armt_b.bin", "0"], depends=[test_armt]) -testset += ExampleTestDis(["x86_32", Example.get_sample("x86_32_simple.bin"), +testset += ExampleDisasmFull(["x86_32", Example.get_sample("x86_32_simple.bin"), "0x401000"], depends=[test_box["simple"]]) -testset += ExampleTestDis(["msp430", "msp430_sc.bin", "0"], +testset += ExampleDisasmFull(["msp430", "msp430_sc.bin", "0"], depends=[test_msp430]) -testset += ExampleTestDis(["mips32l", "mips32_sc_l.bin", "0"], +testset += ExampleDisasmFull(["mips32l", "mips32_sc_l.bin", "0"], depends=[test_mips32]) -testset += ExampleTestDis(["mips32b", "mips32_sc_b.bin", "0"], +testset += ExampleDisasmFull(["mips32b", "mips32_sc_b.bin", "0"], depends=[test_mips32]) testset += Example(["expression/graph_dataflow.py", |