forked from OSchip/llvm-project
![]() 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 |
||
---|---|---|
.. | ||
Inputs | ||
unit | ||
.coveragerc | ||
boolean-parsing.py | ||
discovery.py | ||
googletest-format.py | ||
googletest-timeout.py | ||
googletest-upstream-format.py | ||
lit.cfg | ||
lit.site.cfg.in | ||
max-failures.py | ||
parallelism-groups.py | ||
progress-bar.py | ||
selecting.py | ||
shell-parsing.py | ||
shtest-encoding.py | ||
shtest-format.py | ||
shtest-output-printing.py | ||
shtest-run-at-line.py | ||
shtest-shell.py | ||
shtest-timeout.py | ||
test-data-micro.py | ||
test-data.py | ||
test-output-micro.py | ||
test-output.py | ||
usage.py | ||
xunit-output.py |