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