aboutsummaryrefslogtreecommitdiff
path: root/scripts/test
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test')
-rwxr-xr-xscripts/test13
1 files changed, 8 insertions, 5 deletions
diff --git a/scripts/test b/scripts/test
index e389728..1fb02eb 100755
--- a/scripts/test
+++ b/scripts/test
@@ -2,7 +2,14 @@
2set -e 2set -e
3set -x 3set -x
4 4
5unset CC 5if [ "$ARCH" = "" ]; then
6 ARCH=`uname -m`
7fi
8
9if [ "$ARCH" = "mingw32" -o "$ARCH" = "mingw64" -o "$ARCH" = "arm32" ]; then
10 unset CC
11fi
12
6ENABLE_ASM="${ENABLE_ASM:=ON}" 13ENABLE_ASM="${ENABLE_ASM:=ON}"
7 14
8if type apt-get >/dev/null 2>&1; then 15if type apt-get >/dev/null 2>&1; then
@@ -15,10 +22,6 @@ fi
15 22
16VERSION=`cat VERSION` 23VERSION=`cat VERSION`
17 24
18if [ "$ARCH" = "" ]; then
19 ARCH=`uname -m`
20fi
21
22# test macOS 25# test macOS
23if [ `uname` = "Darwin" ]; then 26if [ `uname` = "Darwin" ]; then
24 # test autotools 27 # test autotools