From 3de972e0bdbb5da7b13db5628e5373e3ec57cf51 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 4 Jun 2014 12:15:23 +0200 Subject: Test suite/platformtest.sh: Detect when tests have been skipped Detect if some tests have been skipped, for example when telnet(1) or expect(1) is missing: ./contrib/platformtest.sh will echo a warning message now. --- src/testsuite/Makefile.ng | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/testsuite/Makefile.ng') diff --git a/src/testsuite/Makefile.ng b/src/testsuite/Makefile.ng index b906091e..d929592f 100644 --- a/src/testsuite/Makefile.ng +++ b/src/testsuite/Makefile.ng @@ -1,6 +1,6 @@ # # ngIRCd -- The Next Generation IRC Daemon -# Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors +# Copyright (c)2001-2014 Alexander Barton (alex@barton.de) and Contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ EXTRA_DIST = \ all: clean-local: - rm -rf logs tests *-test ngircd-test*.log procs.tmp \ + rm -rf logs tests *-test ngircd-test*.log procs.tmp tests-skipped.lst \ T-ngircd1 ngircd-test1.motd T-ngircd2 ngircd-test2.motd maintainer-clean-local: @@ -39,6 +39,7 @@ ngircd-TEST-Binary: cp ../ngircd/ngircd T-ngircd1 cp ../ngircd/ngircd T-ngircd2 [ -f getpid.sh ] || ln -s $(srcdir)/getpid.sh . + rm -f tests-skipped.lst connect-test: tests.sh rm -f connect-test -- cgit 1.4.1