plugins-scripts/Makefile.am: Testing scripts with 'perl -wc'

This commit is contained in:
Jan Wagner 2015-10-04 17:06:13 +02:00
parent 1861e6a2d9
commit c0b4f41899

View file

@ -36,6 +36,7 @@ TESTS = @SCRIPT_TEST@
test:
perl -I $(top_builddir) -I $(top_srcdir) ../test.pl
perl -I $(top_builddir) -I $(top_srcdir) ../test.pl t/utils.t # utils.t is excluded from above, so manually ask to test
for PLSCRIPTS in *.pl; do perl -wc $$PLSCRIPTS || exit 1; done
test-debug:
NPTEST_DEBUG=1 HARNESS_VERBOSE=1 perl -I $(top_builddir) -I $(top_srcdir) ../test.pl