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

Abhina Sree via All-commits all-commits at lists.llvm.org
Fri Mar 5 04:22:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c52fe0b02172e707aa2ba38cd2e01a1fc70dd0da
      https://github.com/llvm/llvm-project/commit/c52fe0b02172e707aa2ba38cd2e01a1fc70dd0da
  Author: Abhina Sreeskantharajan <Abhina.Sreeskantharajan at ibm.com>
  Date:   2021-03-05 (Fri, 05 Mar 2021)

  Changed paths:
    M llvm/test/tools/llvm-elfabi/fail-file-write-windows.test
    M llvm/test/tools/yaml2obj/ELF/DWARF/debug-gnu-pubnames.yaml
    M llvm/test/tools/yaml2obj/ELF/DWARF/debug-gnu-pubtypes.yaml
    M llvm/utils/lit/lit/llvm/config.py

  Log Message:
  -----------
  [test] Use host platform specific error message substitution in lit tests

This patch uses the errno python library to print out the correct error messages instead of hardcoding the error message per platform.

Reviewed By: jhenderson, ASDenysPetrov

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




More information about the All-commits mailing list