diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2015-01-07 17:09:00 +0100 |
|---|---|---|
| committer | Camille Mougey <camille.mougey@cea.fr> | 2015-01-23 17:24:41 +0100 |
| commit | c7209f8d8a5dfac3cd1bf5152a32f860f888550e (patch) | |
| tree | 387fc0f84561bb138b4ac51d588c467b36ee9801 /test/test_all.py | |
| parent | 246e8df5cf5fe6d287b5e95c4388c44e0a328350 (diff) | |
| download | miasm-c7209f8d8a5dfac3cd1bf5152a32f860f888550e.tar.gz miasm-c7209f8d8a5dfac3cd1bf5152a32f860f888550e.zip | |
Examples: Update *.S location
Diffstat (limited to '')
| -rw-r--r-- | test/test_all.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/test_all.py b/test/test_all.py index 19f26641..0d39b029 100644 --- a/test/test_all.py +++ b/test/test_all.py @@ -96,8 +96,10 @@ test_armt = Example(["asm_armt.py"], products=["demo_armt_l.bin", test_box = {} test_box_names = ["mod", "mod_self", "repmod", "simple"] for source in test_box_names: - test_box[source] = Example(["asm_box_x86_32.py", "x86_32_" + source + ".S"], - products=["x86_32_" + source + ".bin"]) + test_box[source] = Example(["asm_box_x86_32.py", + Example.get_sample("x86_32_" + source + ".S")], + products=[Example.get_sample("x86_32_" + source + + ".bin")]) testset += test_box[source] test_box_enc = Example(["asm_box_x86_32_enc.py"], @@ -137,7 +139,8 @@ testset += ExampleTestDis(["armtl", "demo_armt_l.bin", "0"], depends=[test_armt]) testset += ExampleTestDis(["armtb", "demo_armt_b.bin", "0"], depends=[test_armt]) -testset += ExampleTestDis(["x86_32", "x86_32_simple.bin", "0x401000"], +testset += ExampleTestDis(["x86_32", Example.get_sample("x86_32_simple.bin"), + "0x401000"], depends=[test_box["simple"]]) testset += ExampleTestDis(["msp430", "msp430_sc.bin", "0"], depends=[test_msp430]) @@ -192,7 +195,8 @@ for script, dep in [(["test_jit_x86_32.py", "x86_32_sc.bin"], []), "0"], [test_arm]), (["sandbox_pe_x86_32.py", "box_x86_32_enc.bin"], [test_box_enc]), - ] + [(["sandbox_pe_x86_32.py", "x86_32_" + name + ".bin"], + ] + [(["sandbox_pe_x86_32.py", + Example.get_sample("x86_32_" + name + ".bin")], [test_box[name]]) for name in test_box_names]: for jitter in ["tcc", "llvm", "python"]: |