Fail gracefully if 'make check' hasn't been run.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5317
This commit is contained in:
Nicholas Nethercote 2005-12-08 22:39:04 +00:00
parent 0d3d66a4ac
commit bf86440453

View File

@ -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).