Unifying the tests

This commit is contained in:
Pierre Pronchery 2014-03-23 14:14:52 +09:00
parent cb5f021530
commit a19e0cbb34

View File

@ -19,7 +19,7 @@
#variables
DATE="date"
DEASM="../src/deasm-static"
DEBUG="debug"
DEBUG="_debug"
#functions
@ -39,7 +39,7 @@ _deasm()
#debug
debug()
_debug()
{
echo "$@" 1>&2
"$@"
@ -101,7 +101,8 @@ target="$1"
[ "$clean" -ne 0 ] && exit 0
FAILED=
($DATE
(echo "Performing tests:" 1>&2
$DATE
_test _deasm amd64
_test _deasm arm
_test _deasm armeb