From a6e6137540f8d3aed00c7e97c396f8b84b4d22a9 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Wed, 18 Jan 2012 11:12:11 -0800 Subject: [PATCH] Do not attempt to build and run the tests if libBlocksRuntime.a has not been built --- checktests | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/checktests b/checktests index 64c0deb91..c60dae02b 100755 --- a/checktests +++ b/checktests @@ -25,6 +25,10 @@ if "$CXX" --version >/dev/null 2>&1; then else echo "$CXX" not installed -- skipping C++ tests fi +if [ ! -r "$LIB" ]; then + echo "No $LIB file found, try running $(dirname "$0")/buildlib first" + exit 1 +fi failcount=0 testsfailed= for test in BlocksRuntime/tests/*.[cC]; do -- 2.11.4.GIT