浏览代码

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