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>2019-05-10 12:55:21 +0200
committerGitHub <noreply@github.com>2019-05-10 12:55:21 +0200
commitc922e7067018a8ec13082fa9a268f70b026b0ad7 (patch)
tree32e07d366d08451db96c15b5d5627e3abad92531 /test/test_all.py
parent82ec0ab9b24553c894540bb1f560df2cf062679b (diff)
parent178b202120a22b7ca92c137c363ebb15d843a726 (diff)
downloadmiasm-c922e7067018a8ec13082fa9a268f70b026b0ad7.tar.gz
miasm-c922e7067018a8ec13082fa9a268f70b026b0ad7.zip
Merge pull request #1036 from commial/refactor/example-loader
Refactor/example loader
Diffstat (limited to 'test/test_all.py')
-rwxr-xr-xtest/test_all.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test_all.py b/test/test_all.py
index a8a0d599..1f729a71 100755
--- a/test/test_all.py
+++ b/test/test_all.py
@@ -696,6 +696,18 @@ for script in [["basic_op.py"],
                ]:
     testset += ExampleExpression(script)
 
+## Loader
+class ExampleLoader(Example):
+    """Loader examples specificities:
+    - script path begins with "loader/"
+    """
+    example_dir = "loader"
+
+
+testset += ExampleLoader(["build_pe.py"], products=["fresh_pe.exe"])
+# A sample is required, so "minidump_to_pe.py" is disabled for now
+
+
 ## Symbolic Execution
 class ExampleSymbolExec(Example):
     """Symbol Exec examples specificities: