Use timeout to protect against hangs

This commit is contained in:
James Robson
2021-02-03 21:43:34 +00:00
parent 5808d56f12
commit 7fe5a08b23
+1 -2
View File
@@ -75,6 +75,5 @@ jobs:
BUILDDIR="${PWD}/uutils/target/release"
GNULIB_DIR="${PWD}/gnulib"
pushd gnu
ulimit -t 60
unbuffer make -j "$(nproc)" check SUBDIRS=. RUN_EXPENSIVE_TESTS=yes RUN_VERY_EXPENSIVE_TESTS=yes VERBOSE=no || :
unbuffer timeout 3600 make -j "$(nproc)" check SUBDIRS=. RUN_EXPENSIVE_TESTS=yes RUN_VERY_EXPENSIVE_TESTS=yes VERBOSE=no || :