[all-commits] [llvm/llvm-project] 42a217: [test] Use host platform specific error message su...

Abhina Sree via All-commits all-commits at lists.llvm.org
Fri Jan 29 04:16:51 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42a21778f61cdc8462ce2cfb6ad7bc1992b2063c
      https://github.com/llvm/llvm-project/commit/42a21778f61cdc8462ce2cfb6ad7bc1992b2063c
  Author: Abhina Sreeskantharajan <Abhina.Sreeskantharajan at ibm.com>
  Date:   2021-01-29 (Fri, 29 Jan 2021)

  Changed paths:
    M clang/test/CodeGen/basic-block-sections.c
    M clang/test/CodeGen/ubsan-blacklist-vfs.c
    M clang/test/Driver/clang-offload-bundler.c
    M clang/test/Frontend/output-paths.c
    M clang/test/Frontend/stats-file.c
    M lld/test/COFF/driver.test
    M lld/test/COFF/manifestinput-error.test
    M lld/test/COFF/nodefaultlib.test
    M lld/test/COFF/pdb-type-server-invalid-signature.yaml
    M lld/test/COFF/pdb-type-server-missing.yaml
    M lld/test/ELF/archive-thin-missing-member.s
    M lld/test/ELF/basic.s
    M lld/test/ELF/reproduce-error.s
    M lld/test/ELF/symbol-ordering-file.s
    M lld/test/MachO/invalid/no-filelist.s
    M llvm/docs/TestingGuide.rst
    M llvm/test/DebugInfo/symbolize-missing-file.test
    M llvm/test/MC/Hexagon/not_found.s
    M llvm/test/Object/archive-extract-dir.test
    M llvm/test/Object/archive-extract.test
    M llvm/test/Object/directory.ll
    M llvm/test/tools/dsymutil/X86/papertrail-warnings.test
    M llvm/test/tools/dsymutil/archive-timestamp.test
    M llvm/test/tools/dsymutil/debug-map-parsing.test
    M llvm/test/tools/llvm-ar/error-opening-directory.test
    M llvm/test/tools/llvm-ar/missing-thin-archive-member.test
    M llvm/test/tools/llvm-ar/move.test
    M llvm/test/tools/llvm-ar/print.test
    M llvm/test/tools/llvm-ar/quick-append.test
    M llvm/test/tools/llvm-ar/replace.test
    M llvm/test/tools/llvm-ar/response.test
    M llvm/test/tools/llvm-cxxdump/trivial.test
    M llvm/test/tools/llvm-libtool-darwin/filelist.test
    M llvm/test/tools/llvm-libtool-darwin/invalid-input-output-args.test
    M llvm/test/tools/llvm-lipo/create-arch.test
    M llvm/test/tools/llvm-lipo/replace-invalid-input.test
    M llvm/test/tools/llvm-lto/error.ll
    M llvm/test/tools/llvm-lto2/X86/stats-file-option.ll
    M llvm/test/tools/llvm-mc/basic.test
    M llvm/test/tools/llvm-mca/invalid_input_file_name.test
    M llvm/test/tools/llvm-ml/basic.test
    M llvm/test/tools/llvm-objcopy/COFF/add-section.test
    M llvm/test/tools/llvm-objcopy/ELF/add-section.test
    M llvm/test/tools/llvm-objcopy/ELF/error-format.test
    M llvm/test/tools/llvm-objcopy/MachO/add-section-error.test
    M llvm/test/tools/llvm-objcopy/redefine-symbols.test
    M llvm/test/tools/llvm-objcopy/wasm/dump-section.test
    M llvm/test/tools/llvm-profdata/weight-instr.test
    M llvm/test/tools/llvm-profdata/weight-sample.test
    M llvm/test/tools/llvm-readobj/ELF/thin-archive-paths.test
    M llvm/test/tools/llvm-readobj/basic.test
    M llvm/test/tools/llvm-readobj/thin-archive.test
    M llvm/test/tools/llvm-size/no-input.test
    M llvm/test/tools/llvm-symbolizer/pdb/missing_pdb.test
    M llvm/test/tools/llvm-xray/X86/no-such-file.txt
    M llvm/test/tools/obj2yaml/invalid_input_file.test
    M llvm/test/tools/yaml2obj/output-file.yaml
    M llvm/utils/lit/lit/llvm/config.py

  Log Message:
  -----------
  [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




More information about the All-commits mailing list