diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2019-10-07 16:51:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-07 16:51:15 (GMT) |
commit | e8baeca51ef2003d6c9ec21c32f1563fef1065b9 (patch) | |
tree | d9402c07c0aa84b5351d66e71f2617d73156e493 /tests | |
parent | 689dff5b4422132d46f5cbb3e55d17af37abe600 (diff) | |
parent | dcdb9c73c02cdb5f6d4d7498bbf807cfd71aff84 (diff) | |
download | lz4-e8baeca51ef2003d6c9ec21c32f1563fef1065b9.zip lz4-e8baeca51ef2003d6c9ec21c32f1563fef1065b9.tar.gz lz4-e8baeca51ef2003d6c9ec21c32f1563fef1065b9.tar.bz2 |
Merge pull request #798 from bimbashrestha/adding_cirrus_test
Adding cirrus test for FreeBSD
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_install.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_install.sh b/tests/test_install.sh index f9de402..ba87934 100755 --- a/tests/test_install.sh +++ b/tests/test_install.sh @@ -1,7 +1,15 @@ #/usr/bin/env sh set -e + make="make -C $lz4_root" +unamestr=$(uname) +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:]') |