From: Karel Zak Date: Mon, 30 Jul 2012 16:00:33 +0000 (+0200) Subject: tests: check for 'make check' X-Git-Tag: v2.22-rc2~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b5606aada4d84dbf529afd19fc992a7a7fdc1921;p=thirdparty%2Futil-linux.git tests: check for 'make check' Signed-off-by: Karel Zak --- diff --git a/tests/run.sh b/tests/run.sh index 43aae83062..15bce71ed1 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -57,9 +57,19 @@ if [ -n "$SUBTESTS" ]; then done else # all tests + if [ ! -f "$TS_TOPDIR/../test_tt" ]; then + echo "Tests not compiled! Run 'make check' to fix the problem." + exit 1 + fi + if [ ! -f "$TS_TOPDIR/commands.sh" ]; then + echo "Not ready to run tests! Run './configure' or './config.status' to fix the problem." + exit 1 + fi + comps=$(find $TS_TOPDIR/ts/ -type f -perm /a+x -regex ".*/[^\.~]*" | sort) fi + echo echo "-------------------- util-linux regression tests --------------------" echo