4
0
Эх сурвалжийг харах

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

Jan Wagner 10 жил өмнө
parent
commit
c0b4f41899

+ 1 - 0
plugins-scripts/Makefile.am

@@ -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