Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/travis/build_autotools.sh
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
trap 'print_logs' ERR | trap 'print_logs' ERR | ||||
make -j2 $AUTOTOOLS_TARGET | make -j2 $AUTOTOOLS_TARGET | ||||
if [ "$RUN_VALGRIND" = "yes" ]; then | if [ "$RUN_VALGRIND" = "yes" ]; then | ||||
# the `--error-exitcode` is required to make the test fail if valgrind found | # the `--error-exitcode` is required to make the test fail if valgrind found | ||||
# errors, otherwise it'll return 0 | # errors, otherwise it'll return 0 | ||||
# (http://valgrind.org/docs/manual/manual-core.html) | # (https://www.valgrind.org/docs/manual/manual-core.html) | ||||
valgrind --error-exitcode=42 ./tests 16 | valgrind --error-exitcode=42 ./tests 16 | ||||
valgrind --error-exitcode=42 ./exhaustive_tests | valgrind --error-exitcode=42 ./exhaustive_tests | ||||
fi | fi | ||||
if [ "$BENCH" = "yes" ]; then | if [ "$BENCH" = "yes" ]; then | ||||
if [ "$RUN_VALGRIND" = "yes" ]; then | if [ "$RUN_VALGRIND" = "yes" ]; then | ||||
# Using the local `libtool` because on macOS the system's libtool has | # Using the local `libtool` because on macOS the system's libtool has | ||||
# nothing to do with GNU libtool | # nothing to do with GNU libtool | ||||
Show All 26 Lines |