Fix failed Android tests on Travis

This change should have been made at https://github.com/weidai11/cryptopp/commit/e2bc3b55caab
pull/654/head
Jeffrey Walton 2018-04-26 21:35:01 -04:00
parent d132639881
commit 55071c49c1
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ do
echo "Testing for Android support of $platform using $runtime" echo "Testing for Android support of $platform using $runtime"
# Test if we can set the environment for the platform # Test if we can set the environment for the platform
./setenv-android.sh "$platform" "$runtime" ./setenv-android-gcc.sh "$platform" "$runtime"
if [ "$?" -eq "0" ]; then if [ "$?" -eq "0" ]; then
echo echo
@ -37,7 +37,7 @@ do
# run in subshell to not keep any env vars # run in subshell to not keep any env vars
( (
. ./setenv-android.sh "$platform" "$runtime" > /dev/null 2>&1 . ./setenv-android-gcc.sh "$platform" "$runtime" > /dev/null 2>&1
make -f GNUmakefile-cross static dynamic cryptest.exe make -f GNUmakefile-cross static dynamic cryptest.exe
if [ "$?" -eq "0" ]; then if [ "$?" -eq "0" ]; then
echo "$platform:$runtime ==> SUCCESS" >> /tmp/build.log echo "$platform:$runtime ==> SUCCESS" >> /tmp/build.log