This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
valgrind --help didn't return a happy exit status.
[perl5.git] / Makefile.SH
index 8656207..2aa52e1 100644 (file)
@@ -612,7 +612,7 @@ perl.valgrind.config: config.sh
        @grep "^usemymalloc="    config.sh
        @grep "^usemymalloc='n'" config.sh >/dev/null || exit 1
        @echo "And of course you have to have valgrind..."
-       valgrind --help >/dev/null || exit 1
+       valgrind ./perl -e 1 2>/dev/null || exit 1
 
 # Third Degree Perl (Tru64 only)