You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-DBD-SQLite/DBD-SQLite-1.64-Unbundle-Te...

50 lines
2.0 KiB

From 7b0ab0afac68a6540e1023419d66423f24f6134a Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik@redhat.com>
Date: Mon, 3 Dec 2018 15:36:25 +0100
Subject: [PATCH] Unbundle Test::FailWarnings
---
Makefile.PL | 6 ++----
t/virtual_table/11_filecontent_fulltext.t | 7 ++-----
2 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/Makefile.PL b/Makefile.PL
index 1175783..f523987 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -367,6 +367,7 @@ WriteMakefile(
build_requires => {
'File::Spec' => (WINLIKE ? '3.27' : '0.82'),
'Test::More' => '0.88',
+ 'Test::FailWarnings' => '0.008',
},
requires => {
'Tie::Hash' => 0,
diff --git a/t/virtual_table/11_filecontent_fulltext.t b/t/virtual_table/11_filecontent_fulltext.t
index 0a0304f..a49fd35 100644
--- a/t/virtual_table/11_filecontent_fulltext.t
+++ b/t/virtual_table/11_filecontent_fulltext.t
@@ -21,8 +21,7 @@ my @tests = (
lib/DBD/SQLite/VirtualTable/FileContent.pm
lib/DBD/SQLite/VirtualTable/PerlData.pm]],
["install_method" => qw[lib/DBD/SQLite.pm]],
- ['"use strict"' => qw[inc/Test/FailWarnings.pm
- lib/DBD/SQLite.pm
+ ['"use strict"' => qw[lib/DBD/SQLite.pm
lib/DBD/SQLite/Constants.pm
lib/DBD/SQLite/GetInfo.pm
lib/DBD/SQLite/VirtualTable.pm
@@ -36,8 +35,7 @@ my @tests = (
# literally.
if (has_compile_option('ENABLE_FTS3_PARENTHESIS')) {
push @tests, (
- ['"use strict" AND "use warnings"' => qw[inc/Test/FailWarnings.pm
- lib/DBD/SQLite/Constants.pm
+ ['"use strict" AND "use warnings"' => qw[lib/DBD/SQLite/Constants.pm
lib/DBD/SQLite/GetInfo.pm
lib/DBD/SQLite/VirtualTable.pm
lib/DBD/SQLite/VirtualTable/FileContent.pm
--
2.17.2