From: Nicholas Nethercote Date: Thu, 8 Dec 2005 22:39:04 +0000 (+0000) Subject: Fail gracefully if 'make check' hasn't been run. X-Git-Tag: svn/VALGRIND_3_2_0~535 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf86440453c4e3a2b84c7e46a9afb5d49e0bc6be;p=thirdparty%2Fvalgrind.git Fail gracefully if 'make check' hasn't been run. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5317 --- diff --git a/tests/vg_regtest.in b/tests/vg_regtest.in index 33ab30baf7..4c2c92c057 100755 --- a/tests/vg_regtest.in +++ b/tests/vg_regtest.in @@ -328,6 +328,9 @@ sub test_one_dir($$) # Ignore dirs into which we should not recurse. if ($dir =~ /^(BitKeeper|CVS|SCCS|docs|doc)$/) { return; } + (-x "$tests_dir/tests/cputest") or die + "vg_regtest: 'cputest' is missing. Did you forget to 'make check'?\n"; + # Ignore any dir whose name matches that of an architecture which is not # the architecture we are running on (eg. when running on x86, ignore ppc/ # directories).