[monitoring-plugins] plugins-scripts/Makefile.am: Testing scripts with ...
Jan Wagner
git at monitoring-plugins.org
Sun Oct 4 18:00:11 CEST 2015
Module: monitoring-plugins
Branch: master
Commit: c0b4f418993ee2ad9fc96acafdddd98ac1bc5074
Author: Jan Wagner <waja at cyconet.org>
Date: Sun Oct 4 17:06:13 2015 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=c0b4f41
plugins-scripts/Makefile.am: Testing scripts with 'perl -wc'
---
plugins-scripts/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/plugins-scripts/Makefile.am b/plugins-scripts/Makefile.am
index 794a34f..6970324 100644
--- a/plugins-scripts/Makefile.am
+++ b/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
More information about the Commits
mailing list