aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jan Wagner <waja@cyconet.org> 2015-10-04 17:06:13 +0200
committerGravatar Jan Wagner <waja@cyconet.org> 2015-10-04 17:37:52 +0200
commitc0b4f418993ee2ad9fc96acafdddd98ac1bc5074 (patch)
tree0ab307becf9e6073d747bd18e01c560b6dd9ec42
parent1861e6a2d911e3adf250e3c33720b8f56d0abbdf (diff)
downloadmonitoring-plugins-c0b4f418993ee2ad9fc96acafdddd98ac1bc5074.tar.gz
plugins-scripts/Makefile.am: Testing scripts with 'perl -wc'
-rw-r--r--plugins-scripts/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins-scripts/Makefile.am b/plugins-scripts/Makefile.am
index 794a34f8..69703244 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