diff --git a/scripts/tests_all.sh b/scripts/tests_all.sh index e4459de45..c822d4101 100755 --- a/scripts/tests_all.sh +++ b/scripts/tests_all.sh @@ -37,7 +37,7 @@ fi sleep 1 # Crypto test -$BUTTERFLY_ROOT/scripts/tests_crypto.sh $BUTTERFLY_BUILD_ROOT/build +$BUTTERFLY_ROOT/scripts/tests_crypto.sh $BUTTERFLY_BUILD_ROOT if [ $? != 0 ]; then tput setaf 1 echo "crypto test failed" diff --git a/scripts/tests_crypto.sh b/scripts/tests_crypto.sh index 2d2b9e1ce..535dafacb 100755 --- a/scripts/tests_crypto.sh +++ b/scripts/tests_crypto.sh @@ -3,7 +3,7 @@ BT_BUILD=$1 cd $BT_BUILD -g++ -std=c++11 -lcrypto -DUNIT_TESTS -I../ ../api/common/crypto.cc -o crypto +g++ ../api/common/crypto.cc -std=c++11 -lcrypto -DUNIT_TESTS -I ../ -o crypto ./crypto RET=$? rm crypto