projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43749a4
)
Test skippen wenn nötige Pakete nicht installiert sind.
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 10 Feb 2012 15:58:09 +0000
(16:58 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 10 Feb 2012 15:58:37 +0000
(16:58 +0100)
t/007broken_links.t
patch
|
blob
|
history
diff --git
a/t/007broken_links.t
b/t/007broken_links.t
index
5ac03bc
..
93148f4
100644
(file)
--- 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;