diff options
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-x | tests/run.sh | 10 |
1 files changed, 10 insertions, 0 deletions
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 |