Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:Ledest:erlang:24
erlang
0215-guard_SUITE-Don-t-warn-for-obsolete-guards...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0215-guard_SUITE-Don-t-warn-for-obsolete-guards.patch of Package erlang
From a34639902feb8f695712f5fbcb69553ff86f47ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org> Date: Thu, 17 Jun 2021 14:46:36 +0200 Subject: [PATCH 2/4] guard_SUITE: Don't warn for obsolete guards Reduce the amount warnings generated. It is erl_lint that generates warnings for obsolete guards, so suppressing these warning will not decrease the coverage of the compiler application. --- lib/compiler/test/guard_SUITE.erl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/compiler/test/guard_SUITE.erl b/lib/compiler/test/guard_SUITE.erl index 85e0bc0edd..2e2fdac062 100644 --- a/lib/compiler/test/guard_SUITE.erl +++ b/lib/compiler/test/guard_SUITE.erl @@ -19,6 +19,10 @@ %% -module(guard_SUITE). +%% Warnings for obsolete guards are generated by erl_lint, so we will not +%% any less testing of the compiler by suppressing them. +-compile([nowarn_obsolete_guard]). + -include_lib("syntax_tools/include/merl.hrl"). -export([all/0, suite/0,groups/0,init_per_suite/1, end_per_suite/1, -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor