From 68a7345e6627abdce3554d0e94e5ff70dcb8ed97 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 10 Feb 2012 16:58:09 +0100 Subject: [PATCH] =?utf8?q?Test=20skippen=20wenn=20n=C3=B6tige=20Pakete=20n?= =?utf8?q?icht=20installiert=20sind.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- t/007broken_links.t | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/t/007broken_links.t b/t/007broken_links.t index 5ac03bca6..93148f4d4 100644 --- a/t/007broken_links.t +++ b/t/007broken_links.t @@ -8,9 +8,13 @@ use strict; use File::Find; -use LWP::Simple; -use Test::More tests => 1; -use URI::Find; +use Test::More; + +if (eval " use LWP::Simple; use URI::Find; 1 ") { + plan tests => 1; +} else { + plan skip_all => "LWP::Simple or URI::Find not installed"; +} my @fails; -- 2.20.1