llvm-project/llvm/utils/lit/tests
Hubert Tong 66a9642f56 [lit][tests][AIX] Update expected form of diagnostic messages; use `not` to normalize non-zero exit values
Summary:
Various tests in the `lit` testing suite expect specific return codes
and forms of diagnostic message from utility programs. As per
POSIX.1-2017 XCU Section 1.4, Utility Description Defaults, "[the]
format of diagnostic messages for most utilities is unspecified".
The STDERR subsections of the `cat` and `wc` utilities merely indicate
that "[the] standard error shall be used only for diagnostic messages".
The corresponding EXIT STATUS subsections merely indicate, with regard
to errors, an exit value of >0.

The affected tests are updated to accept the applicable diagnostic
message as produced by the utilities on AIX. The exit value is
normalized using `not` as necessary.

Reviewers: xingxue, sfertile, jasonliu

Reviewed By: xingxue

Subscribers: delcypher, jsji, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D60553

llvm-svn: 359690
2019-05-01 15:47:16 +00:00
..
Inputs [lit][tests][AIX] Update expected form of diagnostic messages; use `not` to normalize non-zero exit values 2019-05-01 15:47:16 +00:00
unit [lit] Set --single-process for single tests and --threads=1 2019-02-14 22:30:07 +00:00
.coveragerc
boolean-parsing.py
discovery.py [lit] Remove --single-process option (use -j1 instead) 2019-02-14 22:46:56 +00:00
googletest-format.py
googletest-timeout.py
googletest-upstream-format.py
lit.cfg [lit] Respect PYTHONPATH 2019-01-07 16:24:37 +00:00
lit.site.cfg.in Make check-lit tests respect LLVM_LIT_TOOLS_DIR 2017-11-29 18:05:26 +00:00
max-failures.py [lit] Set --single-process for single tests and --threads=1 2019-02-14 22:30:07 +00:00
parallelism-groups.py [lit] Allow setting parallelism groups to None 2019-02-26 19:03:26 +00:00
progress-bar.py [lit][NFC] Cleanup copy&paste naming mistake 2019-02-15 02:44:52 +00:00
selecting.py
shell-parsing.py
shtest-encoding.py
shtest-format.py [lit][tests][AIX] Update expected form of diagnostic messages; use `not` to normalize non-zero exit values 2019-05-01 15:47:16 +00:00
shtest-output-printing.py [lit][tests][AIX] Update expected form of diagnostic messages; use `not` to normalize non-zero exit values 2019-05-01 15:47:16 +00:00
shtest-run-at-line.py [lit] Make it possible for the lit test suite to pass with 2019-01-10 17:47:44 +00:00
shtest-shell.py Add Support for Creating and Deleting Unicode Files and Directories in Lit 2019-02-28 19:16:17 +00:00
shtest-timeout.py [lit] Disable shtest-timeout on Windows 2018-09-10 20:24:05 +00:00
test-data-micro.py [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks. 2018-03-13 16:37:59 +00:00
test-data.py
test-output-micro.py [lit] - Allow 1 test to report multiple micro-test results to provide support for microbenchmarks. 2018-03-13 16:37:59 +00:00
test-output.py [LIT] Move xunit tests tests into their own location, and and add failures 2018-05-10 22:51:28 +00:00
usage.py
xunit-output.py Use quoteattr to ensure we make well formed attributes 2018-05-25 00:31:36 +00:00