mirror of
https://github.com/uutils/coreutils
synced 2024-11-15 01:17:09 +00:00
15 lines
466 B
Bash
15 lines
466 B
Bash
#!/bin/bash
|
|
# spell-checker:ignore (env/vars) BUILDDIR GNULIB SUBDIRS
|
|
set -e
|
|
BUILDDIR="${PWD}/uutils/target/release"
|
|
GNULIB_DIR="${PWD}/gnulib"
|
|
pushd gnu
|
|
|
|
export RUST_BACKTRACE=1
|
|
|
|
if test -n "$1"; then
|
|
# if set, run only the test passed
|
|
export RUN_TEST="TESTS=$1"
|
|
fi
|
|
|
|
timeout -sKILL 2h make -j "$(nproc)" check $RUN_TEST SUBDIRS=. RUN_EXPENSIVE_TESTS=yes RUN_VERY_EXPENSIVE_TESTS=yes VERBOSE=no || : # Kill after 4 hours in case something gets stuck in make
|