Changeset d9162ec for doc/proposals
- Timestamp:
- Dec 20, 2024, 1:56:12 PM (4 weeks ago)
- Branches:
- master
- Children:
- 584612d
- Parents:
- b05d79d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/proposals/nowarn.md
rb05d79d rd9162ec 52 52 2. autogen, configure, make (as before) 53 53 3. Rerun all the tests, expecting many failures. Each failure represents a test that cannot handle strict wflags. 54 1. `./tests/test.py --all -j122>&1 | tee test-status.txt`55 2. `grep 'PASSED ' test-status.txt | sed -E 's/\s+( \.\.\.)?([^ ]+).*$/\2/g' > test-passes.txt`56 3. `grep 'FAILED with' test-status.txt | sed -E 's/\s+( \.\.\.)?([^ ]+).*$/\2/g' > test-fails.txt`54 1. `./tests/test.py --all ... 2>&1 | tee test-status.txt` 55 2. `grep 'PASSED ' test-status.txt | sed -E 's/\s+([^ ]+).*$/\1/g' > test-passes.txt` 56 3. `grep 'FAILED with' test-status.txt | sed -E 's/\s+([^ ]+).*$/\1/g' > test-fails.txt` 57 57 4. Trim the WFLGAS_OPT_LAX list, reconciling with the pass/fail status just obtained. 58 1. Copy-paste just the WFL AGS listitems into `wflags-lax.txt`. Keeping leading pounds and trailing backslashes is optional.58 1. Copy-paste just the WFLGAS_OPT_LAX items into `wflags-lax.txt`. Keeping leading pounds and trailing backslashes is optional. 59 59 2. Print a list of tests found in `wflags-lax.txt` and also in `test-passes.txt`. These tests were originally on WFLGAS_OPT_LAX, but can now pass without being on it. 60 - `sed -E 's/ #|( *\\)//g' wflags-lax.txt | xargs -n 1 -I _ bash -c 'a=_;echo ${a:${#a}<32?0:-32}' | xargs -n 1 -I _ echo "grep -E '^_$' test-passes.txt" | sh`60 - `sed -E 's/^([a-zA-Z])/(^|\\\\s|#)\1/g;s/\.\.\.//g;s/$/($|\\\\s|\\\\\\\\)/g' test-passes.txt | xargs -n 1 -I % echo "grep -E '%' wflags-lax.txt" | sh | sort` 61 61 3. Note that in the running array-basic example, the resulting list was: 62 - array-collections/array-sbscr-types (*) 62 63 - ctrl-flow/loopctrl 63 64 - userLiterals … … 70 71 5. autogen, configure, make (as before) 71 72 5. Ensure that all tests pass, now under the reduced WFLGAS_OPT_LAX list. Be deliberate about release mode and alternate architectures; i.e. that you aren't claiming to have fixed a test that always worked in x64-debug, but failed on a different configuration. (Note that the overnight build will still catch that.) 73 74 (*) This test was found later, upon fixing a problem in these instructions, so the original commit does not show it as fixed, like it does for the others.
Note: See TracChangeset
for help on using the changeset viewer.