about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-03-03 23:39:19 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-03-04 02:44:17 +0100
commit5155171ab9b805d26824fe1248840f4ac22de94c (patch)
tree7b7509fb3a39b8278827d2eeddccf9850c50130d
parent65e257294497e1ea573c469d637f5b9301b0ff74 (diff)
downloadmiasm-5155171ab9b805d26824fe1248840f4ac22de94c.tar.gz
miasm-5155171ab9b805d26824fe1248840f4ac22de94c.zip
Test: add ppc32b tests
-rwxr-xr-xexample/samples/md5_ppc32bbin0 -> 68500 bytes
-rwxr-xr-xtest/test_all.py5
2 files changed, 5 insertions, 0 deletions
diff --git a/example/samples/md5_ppc32b b/example/samples/md5_ppc32b
new file mode 100755
index 00000000..dd24b964
--- /dev/null
+++ b/example/samples/md5_ppc32b
Binary files differdiff --git a/test/test_all.py b/test/test_all.py
index 6aa2a97e..259a1eaa 100755
--- a/test/test_all.py
+++ b/test/test_all.py
@@ -547,6 +547,8 @@ testset += ExampleDisasmFull(["x86_64", Example.get_sample("demo_x86_64.bin"),
                               "0x401000"], depends=[test_x86_64])
 testset += ExampleDisasmFull(["aarch64l", Example.get_sample("md5_aarch64l"),
                               "0x400A00"], depends=[test_aarch64l])
+testset += ExampleDisasmFull(["ppc32b", Example.get_sample("md5_ppc32b"),
+                              "0x1000087C"])
 testset += ExampleDisasmFull(["x86_32", os.path.join("..", "..", "test",
                                                      "arch", "x86", "qemu",
                                                      "test-i386"),
@@ -683,6 +685,9 @@ for script, dep in [(["x86_32.py", Example.get_sample("x86_32_sc.bin")], []),
                     (["sandbox_elf_aarch64l.py",
                       Example.get_sample("md5_aarch64l"), "--mimic-env"],
                      []),
+                    (["sandbox_elf_ppc32.py",
+                      Example.get_sample("md5_ppc32b"), "-a", "0x1000087C"],
+                     []),
                     (["msp430.py", Example.get_sample("msp430_sc.bin"), "0"],
                      [test_msp430]),
                     (["mips32.py", Example.get_sample("mips32_sc_l.bin"), "0"],