[perl-Glib] added test with Test::ConsistentVersion



commit a78710166226e5aa26fb25411046810c6a68db2c
Author: Brian Manning <bmanning src gnome org>
Date:   Wed Feb 27 23:15:43 2013 -0800

    added test with Test::ConsistentVersion

 t/module_versions.t |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/t/module_versions.t b/t/module_versions.t
new file mode 100644
index 0000000..91adc3f
--- /dev/null
+++ b/t/module_versions.t
@@ -0,0 +1,17 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+use Test::More;
+
+eval "use Test::ConsistentVersion";
+plan skip_all => "Test::ConsistentVersion required "
+    . "for checking module versions" if $@;
+Test::ConsistentVersion::check_consistent_versions(
+    # We don't use the version in the README
+    no_readme => 1,
+    # We don't maintain a ChangeLog file, we use NEWS instead
+    no_changelog => 1,
+    # Test::Pod::Content lookѕ for VERSION blocks in POD, which (currently)
+    # don't exist in Glib's autogenerated POD files
+    no_pod => 1,
+);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]