about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2017-09-05 20:50:21 +0200
committerGitHub <noreply@github.com>2017-09-05 20:50:21 +0200
commitc4e78df2485a8368f74ad18a88cd3ab168258c3d (patch)
tree60a78801b8f774ac6fb95c501317d08ea201c8f4 /test
parent93a6b40af9fc16c662798f051187f4b0ddaff176 (diff)
parentc08ea372f47f79c448acf3415397c700e2925579 (diff)
downloadmiasm-c4e78df2485a8368f74ad18a88cd3ab168258c3d.tar.gz
miasm-c4e78df2485a8368f74ad18a88cd3ab168258c3d.zip
Merge pull request #611 from commial/feature/dse-politics
Feature/dse politics
Diffstat (limited to '')
-rwxr-xr-xtest/test_all.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/test/test_all.py b/test/test_all.py
index 70ad62b8..30408ee2 100755
--- a/test/test_all.py
+++ b/test/test_all.py
@@ -631,10 +631,16 @@ dse_crackme = ExampleSymbolExec([Example.get_sample("dse_crackme.c"),
                                 products=[dse_crackme_out],
                                 executable="cc")
 testset += dse_crackme
-testset += ExampleSymbolExec(["dse_crackme.py", dse_crackme_out],
-                             depends=[dse_crackme],
-                             products=["test.txt"],
-                             tags=[TAGS["z3"]])
+for strategy in ["code-cov", "branch-cov", "path-cov"]:
+    testset += ExampleSymbolExec(["dse_crackme.py", dse_crackme_out,
+                                  "--strategy", strategy],
+                                 depends=[dse_crackme],
+                                 products=["test.txt"],
+                                 tags=[TAGS["z3"]])
+    testset += ExampleSymbolExec(["dse_strategies.py",
+                                  Example.get_sample("simple_test.bin"),
+                                  strategy],
+                                 tags=[TAGS["z3"]])
 
 ## Jitter
 class ExampleJitter(Example):