about summary refs log tree commit diff stats
path: root/test/test_all.py
diff options
context:
space:
mode:
authorCamille Mougey <camille.mougey@cea.fr>2015-01-09 18:05:07 +0100
committerCamille Mougey <camille.mougey@cea.fr>2015-01-23 17:24:43 +0100
commit42d91afa7441f62c77febc7d3dbc3e43d4a31218 (patch)
tree3c84b721ed503239017c54c3c679c71536786f47 /test/test_all.py
parentd4606461786632e4771c7b16dcab2dbb01132ee1 (diff)
downloadmiasm-42d91afa7441f62c77febc7d3dbc3e43d4a31218.tar.gz
miasm-42d91afa7441f62c77febc7d3dbc3e43d4a31218.zip
Example: Move expression samples to sample directory
Diffstat (limited to '')
-rw-r--r--test/test_all.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/test_all.py b/test/test_all.py
index f4df9967..61ad701a 100644
--- a/test/test_all.py
+++ b/test/test_all.py
@@ -119,7 +119,7 @@ for script in [["disasm_single_instr.py"],
                 "0x410f90"],
                ]:
     testset += Example(script)
-## Expression
+
 class ExampleDisasmFull(Example):
     """TestDis specificities:
     - script: disasm_full.py
@@ -151,15 +151,16 @@ testset += ExampleDisasmFull(["mips32l", "mips32_sc_l.bin", "0"],
 testset += ExampleDisasmFull(["mips32b", "mips32_sc_b.bin", "0"],
                           depends=[test_mips32])
 
+## Expression
 testset += Example(["expression/graph_dataflow.py",
-                    "expression/sc_connect_back.bin", "0x2e"],
+                    Example.get_sample("sc_connect_back.bin"), "0x2e"],
                    products=["data.txt"])
 testset += Example(["expression/asm_to_ir.py"],
                    products=["graph.txt", "graph2.txt"])
 testset += Example(["expression/get_read_write.py"],
                    products=["graph_instr.txt"])
 testset += Example(["expression/solve_condition_stp.py",
-                    "expression/simple_test.bin"],
+                    Example.get_sample("simple_test.bin")],
                    products=["graph_instr.txt"])
 
 for script in [["expression/basic_op.py"],