From 538b97cea63d68efbd9c9c67d9c41278cfd1ebad Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Fri, 28 Nov 2008 03:22:39 -0500 Subject: Revert inclusion of libtap into nagiosplugins (except for the NEWS file) This reverts the following commits (latest first): f3e0909, 9f16b54, be8df51, f31cd40, 5270c7d, a25083f, f1bfe40, c503d85 and 6c476db --- lib/tests/test_all.t | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100755 lib/tests/test_all.t (limited to 'lib/tests/test_all.t') diff --git a/lib/tests/test_all.t b/lib/tests/test_all.t deleted file mode 100755 index 1fae81a8..00000000 --- a/lib/tests/test_all.t +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/perl -# Creates $file.t for each @ARGV -# Then calls runtests for all these files - -use strict; -use Test::Harness; -use Getopt::Std; - -my $opts = {}; -getopts("v", $opts) or die "Getopt failed"; - -$Test::Harness::verbose = $opts->{v}; -$Test::Harness::switches=""; - -my $special_errors = { - test_ini => "please enable parse-ini to test", - test_opts => "please enable parse-ini to test", -}; -my $default_error = "could not compile"; - -my @tests; -foreach my $file (@ARGV) { - my $file_t = "$file.t"; - my $error = $special_errors->{ $file } || $default_error; - open F, ">", $file_t or die "Cannot open $file_t for writing"; - print F < "./$file not compiled - $error"; -} -exec "./$file"; -EOF - close F; - push @tests, $file_t; -} -chmod 0750, @tests; -runtests @tests; -unlink @tests; -- cgit v1.2.3-74-g34f1