Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/travis/build_autotools.sh
Show All 32 Lines | ../configure \ | ||||
--enable-jni=$JNI \ | --enable-jni=$JNI \ | ||||
--enable-openssl-tests=$OPENSSL_TESTS \ | --enable-openssl-tests=$OPENSSL_TESTS \ | ||||
$AUTOTOOLS_EXTRA_FLAGS \ | $AUTOTOOLS_EXTRA_FLAGS \ | ||||
$USE_HOST | $USE_HOST | ||||
print_logs() { | print_logs() { | ||||
cat tests.log || : | cat tests.log || : | ||||
cat exhaustive_tests.log || : | cat exhaustive_tests.log || : | ||||
cat valgrind_ctime_test.log || : | |||||
} | } | ||||
trap 'print_logs' ERR | trap 'print_logs' ERR | ||||
make -j2 $AUTOTOOLS_TARGET | make -j2 $AUTOTOOLS_TARGET | ||||
if [ -n "$CTIMETEST" ]; then | |||||
libtool --mode=execute valgrind ./valgrind_ctime_test &> valgrind_ctime_test.log | |||||
fi | |||||
popd | popd |