Skip to content

Commit

Permalink
tests: fix tests cripto
Browse files Browse the repository at this point in the history
Signed-off-by: Thiery Ouattara <[email protected]>
  • Loading branch information
outscale-toa committed Feb 24, 2020
1 parent c3b7fc3 commit 6ec7822
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/tests_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests_crypto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ec7822

Please sign in to comment.