Ignore:
Timestamp:
Jan 2, 2025, 7:00:01 PM (3 weeks ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
656c8ac
Parents:
a6b48f6
Message:

Remove uses of warnings to show test success. Eliminate simple causes of other warnings from affected tests and remove the result from WFLAG_OPT_LAX.

Many affected tests also formerly used -fsyntax-only to avoid errors at later compilation stages, or at runtime. Repair such tests to actually work though runtime, and remove them from SYNTAX_ONLY_CODE.

Group tests listed under WFLAGS_OPT according to why they should receive lax treatment. Add reason WFLGAS_OPT_LAX_EXPECT_WARN and give the original list reason WFLGAS_OPT_LAX_TO_INVESTIGATE.

Tests whose purpose is to show a warning are listed as both SYNTAX_ONLY_CODE (so that the warning is the output) and WFLGAS_OPT_LAX_EXPECT_WARN (to document this fact).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/array-ERR3.txt

    ra6b48f6 r2853d6f  
    1 array.cfa:125:25: warning: Preprocessor started
    2 array.cfa:118:32: error: syntax error, unexpected ']' before token "]"
     1array.cfa:140:33: error: syntax error, unexpected ']' before token "]"
Note: See TracChangeset for help on using the changeset viewer.