diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2015-01-23 11:29:57 +0100 |
|---|---|---|
| committer | Camille Mougey <camille.mougey@cea.fr> | 2015-01-23 17:24:43 +0100 |
| commit | c98879f0c1df3554fb16110f4b0b49e57da29a1b (patch) | |
| tree | fe42b5ba638a976696dd40919f91cfa11cb74ae3 | |
| parent | 5306f0ea5baba77df35f1ce27664502c294ca025 (diff) | |
| download | miasm-c98879f0c1df3554fb16110f4b0b49e57da29a1b.tar.gz miasm-c98879f0c1df3554fb16110f4b0b49e57da29a1b.zip | |
TestAll: Add missing products
| -rw-r--r-- | test/test_all.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/test_all.py b/test/test_all.py index dbdb3a44..87a60994 100644 --- a/test/test_all.py +++ b/test/test_all.py @@ -151,11 +151,12 @@ class ExampleDisassembler(Example): example_dir = "disasm" -for script in [["single_instr.py"], - ["function.py"], - ["file.py", Example.get_sample("box_upx.exe"), "0x410f90"], - ]: - testset += ExampleDisassembler(script) +for script, prods in [(["single_instr.py"], []), + (["function.py"], ["graph.txt"]), + (["file.py", Example.get_sample("box_upx.exe"), + "0x410f90"], ["graph.txt"]), + ]: + testset += ExampleDisassembler(script, products=prods) class ExampleDisasmFull(ExampleDisassembler): @@ -207,7 +208,7 @@ testset += ExampleExpression(["get_read_write.py"], products=["graph_instr.txt"]) testset += ExampleExpression(["solve_condition_stp.py", Example.get_sample("simple_test.bin")], - products=["graph_instr.txt"]) + products=["graph_instr.txt", "out.txt"]) for script in [["basic_op.py"], ["basic_simplification.py"], |