about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2019-05-09 10:43:02 +0200
committerAjax <commial@gmail.com>2019-05-09 10:49:27 +0200
commit5c5eb1f9b7a65728b8745f7e07bc1de66d528d3d (patch)
tree5fdf7bbec89d144a55e5e560a8f4ada74361993c /test
parent639abbe623a5d04d173495f29aff698e80577d8a (diff)
downloadmiasm-5c5eb1f9b7a65728b8745f7e07bc1de66d528d3d.tar.gz
miasm-5c5eb1f9b7a65728b8745f7e07bc1de66d528d3d.zip
Add loader examples (only "test_pe" for now) in tests
Diffstat (limited to 'test')
-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..445d2b16 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(["test_pe.py"], products=["uu.bin"])
+# A sample is required, so "minidump_to_pe.py" is disabled for now
+
+
 ## Symbolic Execution
 class ExampleSymbolExec(Example):
     """Symbol Exec examples specificities: