about summary refs log tree commit diff stats
path: root/test/test_all.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_all.py')
-rw-r--r--test/test_all.py13
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"],