Explorar el Código

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

Jan Wagner hace 10 años
padre
commit
c0b4f41899
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      plugins-scripts/Makefile.am

+ 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