Changed things so that the regression test script (vg_regtest) is no longer
installed, as it was silly since the reg tests themselves aren't installed.
Updated the "make regtest" target to use the uninstalled version in tests/.
Also, vg_regtest now no longer uses the installed version of Valgrind to do the
testing, but instead coregrind/valgrind. This means that you don't have to do
make install with your buggy changes before running the regtests on them :)
I even updated the RPM package .spec file!
Thanks to Dirk M�ller for the suggestion.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1551 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/Makefile.am b/Makefile.am
index b1c4924..cad09ca 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,8 +31,9 @@
bzdist: dist
gunzip -c $(PACKAGE)-$(VERSION).tar.gz | bzip2 > $(PACKAGE)-$(VERSION).tar.bz2
+## Preprend @PERL@ because tests/vg_regtest isn't executable
regtest: check
- $(prefix)/bin/vg_regtest --all
+ @PERL@ tests/vg_regtest --all
EXTRA_DIST = $(val_DATA) \
FAQ.txt \