Changeset View
Changeset View
Standalone View
Standalone View
contrib/teamcity/ci-fixture.sh
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | do | ||||
if [ -f "${log}" ]; then | if [ -f "${log}" ]; then | ||||
echo "*** Output of ${log} ***" | echo "*** Output of ${log} ***" | ||||
cat "${log}" | cat "${log}" | ||||
fi | fi | ||||
done | done | ||||
} | } | ||||
trap "print_sanitizers_log" ERR | trap "print_sanitizers_log" ERR | ||||
# It is valid to call the function with no argument, so ignore SC2120 | |||||
# shellcheck disable=SC2120 | |||||
build_with_cmake() { | build_with_cmake() { | ||||
CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${DEVTOOLS_DIR}"/build_cmake.sh "$@" | CMAKE_FLAGS="${CMAKE_FLAGS[*]}" "${DEVTOOLS_DIR}"/build_cmake.sh "$@" | ||||
} | } | ||||
build_with_autotools() { | build_with_autotools() { | ||||
CONFIGURE_FLAGS="${CONFIGURE_FLAGS[*]}" "${DEVTOOLS_DIR}"/build_autotools.sh "$@" | CONFIGURE_FLAGS="${CONFIGURE_FLAGS[*]}" "${DEVTOOLS_DIR}"/build_autotools.sh "$@" | ||||
} | } | ||||
run_ibd() { | run_ibd() { | ||||
"${TOPLEVEL}"/contrib/teamcity/ibd.sh "$@" | "${TOPLEVEL}"/contrib/teamcity/ibd.sh "$@" | ||||
} | } | ||||
build_static_dependencies() { | build_static_dependencies() { | ||||
"${DEVTOOLS_DIR}"/build_depends.sh | "${DEVTOOLS_DIR}"/build_depends.sh | ||||
} | } |