File 1473-Suppress-warnings-about-obsolete-boolean-operators-i.patch of Package erlang

From 0700b669e440f14e1c73c676c67014de9e6615ad Mon Sep 17 00:00:00 2001
From: Richard Carlsson <carlsson.richard@gmail.com>
Date: Tue, 25 Nov 2025 18:39:39 +0100
Subject: [PATCH 3/3] Suppress warnings about obsolete boolean operators in
 test suites

---
 lib/ssh/test/ssh_options_SUITE.erl      |  1 +
 lib/ssh/test/ssh_pubkey_SUITE.erl       |  2 ++
 lib/stdlib/test/beam_lib_SUITE.erl      |  2 ++
 lib/stdlib/test/binary_module_SUITE.erl |  2 ++
 lib/stdlib/test/binref.erl              | 21 +++++++++++++++++++++
 lib/stdlib/test/erl_eval_SUITE.erl      |  3 +++
 lib/stdlib/test/erl_lint_SUITE.erl      | 10 ++++++----
 lib/stdlib/test/erl_pp_SUITE.erl        |  2 ++
 lib/stdlib/test/ets_SUITE.erl           |  2 ++
 lib/stdlib/test/id_transform_SUITE.erl  |  4 +++-
 lib/stdlib/test/io_SUITE.erl            |  2 ++
 lib/stdlib/test/ms_transform_SUITE.erl  |  2 ++
 lib/stdlib/test/run_old_pcre1_tests.erl |  2 ++
 lib/stdlib/test/run_pcre_tests.erl      |  2 ++
 lib/stdlib/test/select_SUITE.erl        |  2 ++
 lib/stdlib/test/supervisor_SUITE.erl    |  2 ++
 16 files changed, 56 insertions(+), 5 deletions(-)

diff --git a/lib/ssh/test/ssh_options_SUITE.erl b/lib/ssh/test/ssh_options_SUITE.erl
index 675157011d..0b1d37dd8a 100644
--- a/lib/ssh/test/ssh_options_SUITE.erl
+++ b/lib/ssh/test/ssh_options_SUITE.erl
@@ -26,6 +26,7 @@
 
 %%% This test suite tests different options for the ssh functions
 
+-compile(nowarn_obsolete_bool_op).
 
 -include_lib("common_test/include/ct.hrl").
 -include_lib("kernel/include/file.hrl").
diff --git a/lib/ssh/test/ssh_pubkey_SUITE.erl b/lib/ssh/test/ssh_pubkey_SUITE.erl
index 03bd97b6e1..5d47510962 100644
--- a/lib/ssh/test/ssh_pubkey_SUITE.erl
+++ b/lib/ssh/test/ssh_pubkey_SUITE.erl
@@ -22,6 +22,8 @@
 %%
 -module(ssh_pubkey_SUITE).
 
+-compile(nowarn_obsolete_bool_op).
+
 %% Note: This directive should only be used in test suites.
 -export([
          suite/0,
-- 
2.51.0

openSUSE Build Service is sponsored by