Subject: | Tests does not pass due to nonexisting Test::DBICSchemaLoaderDigest |
I cannot find Test::DBICSchemaLoaderDigest module anywhere. Added patch
removes test that require it. This does not affect run time.
Subject: | perl-YUM-RepoQuery-0.1.2-Remove-Test-DBICSchemaLoaderDigest-test.patch |
From 094b8456cf8e6cbd866f9c64d384210520bef9cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Tue, 28 Jun 2011 17:10:36 +0200
Subject: [PATCH] Remove Test::DBICSchemaLoaderDigest test
This module cannot be found.
---
Makefile.PL | 1 -
t/01.dbic-md5sum-check.t | 32 --------------------------------
2 files changed, 0 insertions(+), 33 deletions(-)
delete mode 100644 t/01.dbic-md5sum-check.t
diff --git a/Makefile.PL b/Makefile.PL
index e3449fb..27e9efc 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -22,7 +22,6 @@ requires 'Path::Class' => '0.16';
requires 'URI::Fetch';
requires 'XML::Simple';
-test_requires 'Test::DBICSchemaLoaderDigest';
test_requires 'Test::More';
test_requires 'ok';
diff --git a/t/01.dbic-md5sum-check.t b/t/01.dbic-md5sum-check.t
deleted file mode 100644
index 0b25d11..0000000
--- a/t/01.dbic-md5sum-check.t
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/perl
-
-# check to make sure the md5sums on our generated schema files are intact...
-
-use strict;
-use warnings;
-
-use Test::More;
-
-use File::Find::Rule;
-use FindBin;
-use Test::DBICSchemaLoaderDigest;
-
-my $base = "$FindBin::Bin/../lib/YUM/RepoQuery/Schema";
-
-my @to_test = File::Find::Rule
- ->file
- ->name('*.pm')
- ->in("$base/Primary", "$base/Other", "$base/Filelists")
- ;
-
-# ok, now that we have found our files, let the planning begin!
-
-plan tests => scalar @to_test;
-
-for my $file (@to_test) {
-
- ### testing md5 for: $file
- test_dbic_schema_loader_digest($file);
-}
-
-# fin...
--
1.7.5.4