[monitoring-plugins] Add test-debug for plugins-root

Jacob Hansen git at monitoring-plugins.org
Fri Apr 30 11:20:10 CEST 2021


    Module: monitoring-plugins
    Branch: feature_github_actions
    Commit: e712d5a6ef194845e815f0471589262bcb1cced4
    Author: Aksel Sjögren <asjogren at itrsgroup.com>
 Committer: Jacob Hansen <jhansen at op5.com>
      Date: Thu Apr 29 15:04:19 2021 +0200
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=e712d5a

Add test-debug for plugins-root

Fixes "No rule to make target 'test-debug'" when running "make
test-debug" in root dir.

---

 plugins-root/Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am
index a1ebb6d..7cd2675 100644
--- a/plugins-root/Makefile.am
+++ b/plugins-root/Makefile.am
@@ -37,6 +37,9 @@ TESTS = @PLUGIN_TEST@
 test:
 	perl -I $(top_builddir) -I $(top_srcdir) ../test.pl
 
+test-debug:
+	NPTEST_DEBUG=1 HARNESS_VERBOSE=1 perl -I $(top_builddir) -I $(top_srcdir) ../test.pl
+
 setuid_root_mode = ug=rx,u+s
 
 # /* Author Coreutils team - see ACKNOWLEDGEMENTS */



More information about the Commits mailing list