summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-05-06 10:53:39 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-05-06 10:54:08 +0200
commit5ea24eff54557041f3406b894b4e4e35b1c52c02 (patch)
tree184e11e0f159b7f13fc32b32a591987a1e0c12c1
parentad3ae8cc582438000b3b8589b3629df98da49c9d (diff)
downloadurpmi-5ea24eff54557041f3406b894b4e4e35b1c52c02.tar
urpmi-5ea24eff54557041f3406b894b4e4e35b1c52c02.tar.gz
urpmi-5ea24eff54557041f3406b894b4e4e35b1c52c02.tar.bz2
urpmi-5ea24eff54557041f3406b894b4e4e35b1c52c02.tar.xz
urpmi-5ea24eff54557041f3406b894b4e4e35b1c52c02.zip
Add kwalitee test
-rw-r--r--MANIFEST1
-rw-r--r--t/03kwality.t9
2 files changed, 10 insertions, 0 deletions
diff --git a/MANIFEST b/MANIFEST
index 7770a669..e56438d7 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -102,6 +102,7 @@ rurpmi
skip.list
t/01compile.t
t/02create_pkgs.t
+t/03kwality.t
t/cfg.t
t/data/media.cfg
t/data/reconfig.urpmi
diff --git a/t/03kwality.t b/t/03kwality.t
new file mode 100644
index 00000000..a45a1636
--- /dev/null
+++ b/t/03kwality.t
@@ -0,0 +1,9 @@
+#!/usr/bin/perl
+use Test::More;
+
+plan skip_all => "These tests are for authors only!" unless $ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING};
+
+eval { require Test::Kwalitee; Test::Kwalitee->import() };
+
+plan( skip_all => 'Test::Kwalitee not installed; skipping' ) if $@;
+