OSDN Git Service

[AIX] Split lit test shtest-format into two separate tests and add AIX as UNSUPPORTED...
authorShuhong Liu <shuhong.liu@ibm.com>
Thu, 18 Jun 2020 20:51:53 +0000 (16:51 -0400)
committerDavid Tenty <daltenty@ibm.com>
Thu, 18 Jun 2020 20:58:07 +0000 (16:58 -0400)
commitaf8aee7c073b37d9718903f5947dd4eff071083a
treee8c2e8f56417d7b89e1dd959769b1640198f8a6e
parent01277bc9569a2417388b983210d2c02a53c9d836
[AIX] Split lit test shtest-format into two separate tests and add AIX as UNSUPPORTED for shtest-format-argv0

Summary: lit test `shtest-format.py` fails on AIX  because one of the subtest of shtest-format requires the tool `[` to be installed under the system PATH. For AIX, `[` is only available as a shell builtin and does not present as an executable file under PATH. Hence, split the original shtest-format into two separate test files and added AIX as UNSUPPORTED for the test using `[` .

Reviewers: daltenty, hubert.reinterpretcast

Reviewed By: hubert.reinterpretcast

Subscribers: delcypher, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D82100
llvm/utils/lit/tests/Inputs/shtest-format-argv0/argv0.txt [moved from llvm/utils/lit/tests/Inputs/shtest-format/argv0.txt with 100% similarity]
llvm/utils/lit/tests/Inputs/shtest-format-argv0/lit.cfg [new file with mode: 0644]
llvm/utils/lit/tests/lit.cfg
llvm/utils/lit/tests/shtest-format-argv0.py [new file with mode: 0644]
llvm/utils/lit/tests/shtest-format.py