Files
clang-p2996/lld/test/COFF/manifestinput-error.test
Abhina Sreeskantharajan 42a21778f6 [test] Use host platform specific error message substitution in lit tests
On z/OS, the following error message is not matched correctly in lit tests.

```
EDC5129I No such file or directory.
```

This patch uses a lit config substitution to check for platform specific error messages.

Reviewed By: muiez, jhenderson

Differential Revision: https://reviews.llvm.org/D95246
2021-01-29 07:16:30 -05:00

11 lines
401 B
Plaintext

# UNSUPPORTED: manifest_tool
# UNSUPPORTED: libxml2
# RUN: yaml2obj %p/Inputs/ret42.yaml -o %t.obj
# RUN: env LLD_IN_TEST=1 not lld-link /out:%t.exe /entry:main \
# RUN: /manifest:embed \
# RUN: /manifestuac:"level='requireAdministrator'" \
# RUN: /manifestinput:%p/Inputs/manifestinput.test %t.obj 2>&1 | FileCheck -DMSG=%errc_ENOENT %s
# CHECK: error: unable to find mt.exe in PATH: [[MSG]]