From 7fcf72352699dcbc39f08c23f68e34580b3e3a10 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Tue, 7 Jan 2014 21:54:55 +0800 Subject: [PATCH] add some test tools into suite/ --- suite/test_c.sh | 12 ++++++++++++ suite/test_python.sh | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100755 suite/test_c.sh create mode 100755 suite/test_python.sh diff --git a/suite/test_c.sh b/suite/test_c.sh new file mode 100755 index 00000000..96d98089 --- /dev/null +++ b/suite/test_c.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Run all the Python tests, and send the output that to a file to be compared later +# This is useful when we want to verify if a commit (wrongly) changes the disassemble result. + +./tests/test > /tmp/$1 +./tests/test_detail >> /tmp/$1 +./tests/test_arm >> /tmp/$1 +./tests/test_arm64 >> /tmp/$1 +./tests/test_mips >> /tmp/$1 +./tests/test_ppc >> /tmp/$1 +./tests/test_x86 >> /tmp/$1 diff --git a/suite/test_python.sh b/suite/test_python.sh new file mode 100755 index 00000000..2af9e53d --- /dev/null +++ b/suite/test_python.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Run all the Python tests, and send the output that to a file to be compared later +# This is useful when we want to verify if a commit (wrongly) changes the disassemble result. + +./bindings/python/test.py > /tmp/$1 +./bindings/python/test_detail.py >> /tmp/$1 +./bindings/python/test_arm.py >> /tmp/$1 +./bindings/python/test_arm64.py >> /tmp/$1 +./bindings/python/test_mips.py >> /tmp/$1 +./bindings/python/test_ppc.py >> /tmp/$1 +./bindings/python/test_x86.py >> /tmp/$1