2018-08-03 15:21:03 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2019-12-30 10:39:22 +01:00
|
|
|
# Copyright (c) 2018-2019 The Bitcoin Core developers
|
2018-08-03 15:21:03 +02:00
|
|
|
# Distributed under the MIT software license, see the accompanying
|
|
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
2018-08-07 11:50:05 +02:00
|
|
|
export LC_ALL=C.UTF-8
|
2018-08-03 15:21:03 +02:00
|
|
|
|
2018-11-06 16:17:23 +01:00
|
|
|
# Add llvm-symbolizer directory to PATH. Needed to get symbolized stack traces from the sanitizers.
|
|
|
|
PATH=$PATH:/usr/lib/llvm-6.0/bin/
|
2018-08-03 15:21:03 +02:00
|
|
|
export PATH
|
|
|
|
|
|
|
|
BEGIN_FOLD () {
|
|
|
|
echo ""
|
|
|
|
CURRENT_FOLD_NAME=$1
|
|
|
|
echo "travis_fold:start:${CURRENT_FOLD_NAME}"
|
|
|
|
}
|
|
|
|
|
|
|
|
END_FOLD () {
|
|
|
|
RET=$?
|
|
|
|
echo "travis_fold:end:${CURRENT_FOLD_NAME}"
|
2018-08-03 16:07:53 +02:00
|
|
|
if [ $RET != 0 ]; then
|
|
|
|
echo "${CURRENT_FOLD_NAME} failed with status code ${RET}"
|
|
|
|
fi
|
2018-08-03 15:21:03 +02:00
|
|
|
}
|
|
|
|
|