|
From: <sv...@va...> - 2005-12-08 22:39:06
|
Author: njn
Date: 2005-12-08 22:39:04 +0000 (Thu, 08 Dec 2005)
New Revision: 5317
Log:
Fail gracefully if 'make check' hasn't been run.
Modified:
trunk/tests/vg_regtest.in
Modified: trunk/tests/vg_regtest.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/tests/vg_regtest.in 2005-12-08 22:38:44 UTC (rev 5316)
+++ trunk/tests/vg_regtest.in 2005-12-08 22:39:04 UTC (rev 5317)
@@ -328,6 +328,9 @@
# Ignore dirs into which we should not recurse.
if ($dir =3D~ /^(BitKeeper|CVS|SCCS|docs|doc)$/) { return; }
=20
+ (-x "$tests_dir/tests/cputest") or die=20
+ "vg_regtest: 'cputest' is missing. Did you forget to 'make chec=
k'?\n";
+ =20
# Ignore any dir whose name matches that of an architecture which is=
not
# the architecture we are running on (eg. when running on x86, ignor=
e ppc/
# directories).
|