461834
From 1944bbf4f29181690097e61f1410d30d43343b02 Mon Sep 17 00:00:00 2001
461834
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
461834
Date: Thu, 29 Mar 2018 10:40:17 +0200
461834
Subject: [PATCH] Unbundle Test::NoWarnings
461834
MIME-Version: 1.0
461834
Content-Type: text/plain; charset=UTF-8
461834
Content-Transfer-Encoding: 8bit
461834
461834
Signed-off-by: Petr Písař <ppisar@redhat.com>
461834
---
461834
 Makefile.PL                               |   6 ++----
461834
 t/virtual_table/11_filecontent_fulltext.t |   7 ++-----
461834
461834
diff --git a/Makefile.PL b/Makefile.PL
461834
index fcdf771..3860eda 100644
461834
--- a/Makefile.PL
461834
+++ b/Makefile.PL
461834
@@ -330,8 +330,7 @@ WriteMakefile(
461834
 		'Tie::Hash'     => 0,
461834
 		'File::Spec'    => (WINLIKE ? '3.27' : '0.82'),
461834
 		'DBI'           => $DBI_required,
461834
-		'Test::More'    => '0.47', # Test::NoWarnings
461834
-		'Test::Builder' => '0.86', # Test::NoWarnings
461834
+		'Test::More'    => 0,
461834
 		( WINLIKE ? (
461834
 			'Win32' => '0.30',
461834
 		) : () ),
461834
@@ -363,8 +362,7 @@ WriteMakefile(
461834
 			build_requires => {
461834
 				'File::Spec'          => (WINLIKE ? '3.27' : '0.82'),
461834
 				'Test::More'          => '0.42',
461834
-				# Bundled in /inc
461834
-				# 'Test::NoWarnings'  => '0.081',
461834
+				'Test::NoWarnings'  => '0.081',
461834
 			},
461834
 			requires => {
461834
 				'Tie::Hash' => 0,
461834
diff --git a/t/virtual_table/11_filecontent_fulltext.t b/t/virtual_table/11_filecontent_fulltext.t
461834
index b95b115..7e805f1 100644
461834
--- a/t/virtual_table/11_filecontent_fulltext.t
461834
+++ b/t/virtual_table/11_filecontent_fulltext.t
461834
@@ -27,9 +27,7 @@ my @tests = (
461834
                           lib/DBD/SQLite/VirtualTable/FileContent.pm
461834
                           lib/DBD/SQLite/VirtualTable/PerlData.pm]],
461834
   ["install_method" => qw[lib/DBD/SQLite.pm]],
461834
-  ['"use strict"'   => qw[inc/Test/NoWarnings.pm
461834
-                          inc/Test/NoWarnings/Warning.pm
461834
-                          lib/DBD/SQLite.pm
461834
+  ['"use strict"'   => qw[lib/DBD/SQLite.pm
461834
                           lib/DBD/SQLite/Constants.pm
461834
                           lib/DBD/SQLite/VirtualTable.pm
461834
                           lib/DBD/SQLite/VirtualTable/FileContent.pm
461834
@@ -42,8 +40,7 @@ my @tests = (
461834
 # literally.
461834
 if (grep /ENABLE_FTS3_PARENTHESIS/, DBD::SQLite::compile_options()) {
461834
   push @tests, (
461834
-  ['"use strict" AND "use warnings"' => qw[inc/Test/NoWarnings.pm
461834
-                                           lib/DBD/SQLite/Constants.pm
461834
+  ['"use strict" AND "use warnings"' => qw[lib/DBD/SQLite/Constants.pm
461834
                                            lib/DBD/SQLite/VirtualTable.pm
461834
                                            lib/DBD/SQLite/VirtualTable/FileContent.pm
461834
                                            lib/DBD/SQLite/VirtualTable/PerlData.pm
461834
-- 
461834
2.14.3
461834