From b5606aada4d84dbf529afd19fc992a7a7fdc1921 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 30 Jul 2012 18:00:33 +0200 Subject: tests: check for 'make check' Signed-off-by: Karel Zak --- tests/run.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/run.sh') diff --git a/tests/run.sh b/tests/run.sh index 43aae8306..15bce71ed 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 -- cgit v1.2.3-55-g7522