فهرست منبع

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

Jan Wagner 10 سال پیش
والد
کامیت
c0b4f41899
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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