summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_install.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/test_install.sh b/tests/test_install.sh
index 50567b7..0cdfd3b 100755
--- a/tests/test_install.sh
+++ b/tests/test_install.sh
@@ -1,7 +1,14 @@
#/usr/bin/env sh
set -e
-make="$(MAKE) -C $lz4_root"
+
+make="make -C $lz4_root"
+if [ "$unamestr" = 'Linux' ]; then
+ make="make -C $lz4_root"
+elif [ "$unamestr" = 'FreeBSD' ]; then
+ make="gmake -C $lz4_root"
+fi
+
for cmd in install uninstall; do
for upper in DUMMY PREFIX EXEC_PREFIX LIBDIR INCLUDEDIR PKGCONFIGDIR BINDIR MANDIR MAN1DIR ; do
lower=$(echo $upper | tr '[:upper:]' '[:lower:]')