]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fail gracefully if 'make check' hasn't been run.
authorNicholas Nethercote <njn@valgrind.org>
Thu, 8 Dec 2005 22:39:04 +0000 (22:39 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Thu, 8 Dec 2005 22:39:04 +0000 (22:39 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5317

tests/vg_regtest.in

index 33ab30baf71208cf4f453b383e9132cb1306b75d..4c2c92c057cab303a8c60f4047982871845bc466 100755 (executable)
@@ -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).