about summary refs log tree commit diff stats
path: root/test/test_all.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2015-04-24 18:39:15 +0200
committerserpilliere <serpilliere@users.noreply.github.com>2015-04-24 18:39:15 +0200
commit4869a8b9d53aac5a448000a2616d427a2e338a9f (patch)
treeb701e96f7749a93ef155e582562672f394fc1c73 /test/test_all.py
parent8797f3e11ec42747ed1593924df22fd00271e85a (diff)
parentc090bf5343711729ea190efbfff34d28a2e0df45 (diff)
downloadmiasm-4869a8b9d53aac5a448000a2616d427a2e338a9f.tar.gz
miasm-4869a8b9d53aac5a448000a2616d427a2e338a9f.zip
Merge pull request #148 from commial/depgraph
Depgraph Implicit
Diffstat (limited to 'test/test_all.py')
-rw-r--r--test/test_all.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/test_all.py b/test/test_all.py
index aefd0196..07e1c509 100644
--- a/test/test_all.py
+++ b/test/test_all.py
@@ -128,7 +128,6 @@ for script in ["win_api_x86_32.py",
 testset += RegressionTest(["depgraph.py"], base_dir="analysis",
                           products=["graph_test_01_00.dot",
                                     "graph_test_02_00.dot",
-                                    "graph_test_02_01.dot",
                                     "graph_test_03_00.dot",
                                     "graph_test_03_01.dot",
                                     "graph_test_04_00.dot",
@@ -322,6 +321,15 @@ class ExampleSymbolExec(Example):
 
 
 testset += ExampleSymbolExec(["single_instr.py"])
+for options, nb_sol in [([], 8),
+                        (["-i"], 12)]:
+    testset += ExampleSymbolExec(["depgraph.py",
+                                  Example.get_sample("simple_test.bin"),
+                                  "-m", "x86_32", "0x0", "0x8b",
+                                  "eax"] + options,
+                                 products=["sol_%d.dot" % nb
+                                           for nb in xrange(nb_sol)])
+
 
 ## Jitter
 class ExampleJitter(Example):