summaryrefslogtreecommitdiff
path: root/src/test/modules
diff options
context:
space:
mode:
authorPeter Eisentraut2024-05-15 07:44:05 +0000
committerPeter Eisentraut2024-05-15 08:10:19 +0000
commitcc70e170c0213977c106a61c8cedeaac83136c3d (patch)
tree04034749710c258f48dd669906255c00228430ad /src/test/modules
parent54b69f1bd730a228a666441592a12d2a0cbe2a06 (diff)
Make all Perl warnings fatal, catch-up
Apply c5385929593 to new Perl files that had missed the note.
Diffstat (limited to 'src/test/modules')
-rw-r--r--src/test/modules/test_json_parser/t/001_test_json_parser_incremental.pl2
-rw-r--r--src/test/modules/test_json_parser/t/002_inline.pl2
-rw-r--r--src/test/modules/test_json_parser/t/003_test_semantic.pl2
-rw-r--r--src/test/modules/test_json_parser/t/004_test_parser_perf.pl2
-rw-r--r--src/test/modules/test_misc/t/005_timeouts.pl2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/test/modules/test_json_parser/t/001_test_json_parser_incremental.pl b/src/test/modules/test_json_parser/t/001_test_json_parser_incremental.pl
index 30506be0339..abf0d7a2375 100644
--- a/src/test/modules/test_json_parser/t/001_test_json_parser_incremental.pl
+++ b/src/test/modules/test_json_parser/t/001_test_json_parser_incremental.pl
@@ -5,7 +5,7 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use PostgreSQL::Test::Utils;
use Test::More;
diff --git a/src/test/modules/test_json_parser/t/002_inline.pl b/src/test/modules/test_json_parser/t/002_inline.pl
index 7c4134b3a6a..8d62eb44c8c 100644
--- a/src/test/modules/test_json_parser/t/002_inline.pl
+++ b/src/test/modules/test_json_parser/t/002_inline.pl
@@ -5,7 +5,7 @@
# for a variety of small inputs.
use strict;
-use warnings;
+use warnings FATAL => 'all';
use PostgreSQL::Test::Utils;
use Test::More;
diff --git a/src/test/modules/test_json_parser/t/003_test_semantic.pl b/src/test/modules/test_json_parser/t/003_test_semantic.pl
index 7d3e07e750c..74e0fa5bb18 100644
--- a/src/test/modules/test_json_parser/t/003_test_semantic.pl
+++ b/src/test/modules/test_json_parser/t/003_test_semantic.pl
@@ -5,7 +5,7 @@
# output with the expected output.
use strict;
-use warnings;
+use warnings FATAL => 'all';
use PostgreSQL::Test::Utils;
use Test::More;
diff --git a/src/test/modules/test_json_parser/t/004_test_parser_perf.pl b/src/test/modules/test_json_parser/t/004_test_parser_perf.pl
index e82bb3695b8..81b8c8ae428 100644
--- a/src/test/modules/test_json_parser/t/004_test_parser_perf.pl
+++ b/src/test/modules/test_json_parser/t/004_test_parser_perf.pl
@@ -7,7 +7,7 @@
# of iterations instead of just one.
use strict;
-use warnings;
+use warnings FATAL => 'all';
use PostgreSQL::Test::Utils;
use Test::More;
diff --git a/src/test/modules/test_misc/t/005_timeouts.pl b/src/test/modules/test_misc/t/005_timeouts.pl
index a792610231a..9e1ff9e5c1c 100644
--- a/src/test/modules/test_misc/t/005_timeouts.pl
+++ b/src/test/modules/test_misc/t/005_timeouts.pl
@@ -2,7 +2,7 @@
# Copyright (c) 2024, PostgreSQL Global Development Group
use strict;
-use warnings;
+use warnings FATAL => 'all';
use locale;
use PostgreSQL::Test::Cluster;