summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2015-10-04 15:06:13 (GMT)
committerJan Wagner <waja@cyconet.org>2015-10-04 15:37:52 (GMT)
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 794a34f..6970324 100644
--- a/plugins-scripts/Makefile.am
+++ b/plugins-scripts/Makefile.am
@@ -36,6 +36,7 @@ TESTS = @SCRIPT_TEST@
36test: 36test:
37 perl -I $(top_builddir) -I $(top_srcdir) ../test.pl 37 perl -I $(top_builddir) -I $(top_srcdir) ../test.pl
38 perl -I $(top_builddir) -I $(top_srcdir) ../test.pl t/utils.t # utils.t is excluded from above, so manually ask to test 38 perl -I $(top_builddir) -I $(top_srcdir) ../test.pl t/utils.t # utils.t is excluded from above, so manually ask to test
39 for PLSCRIPTS in *.pl; do perl -wc $$PLSCRIPTS || exit 1; done
39 40
40test-debug: 41test-debug:
41 NPTEST_DEBUG=1 HARNESS_VERBOSE=1 perl -I $(top_builddir) -I $(top_srcdir) ../test.pl 42 NPTEST_DEBUG=1 HARNESS_VERBOSE=1 perl -I $(top_builddir) -I $(top_srcdir) ../test.pl