[all-commits] [llvm/llvm-project] 546c72: [llvm-ranlib] Update expected error message check ...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Thu Jan 2 10:00:40 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 546c72a78b34966a17d37218d3a676d9eccf17f2
      https://github.com/llvm/llvm-project/commit/546c72a78b34966a17d37218d3a676d9eccf17f2
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-01-02 (Thu, 02 Jan 2020)

  Changed paths:
    M llvm/test/tools/llvm-ranlib/D-flag.test

  Log Message:
  -----------
  [llvm-ranlib] Update expected error message check for Windows

On Windows hosts, the error message will be something like
`c:\src\llvm-project\out\gn\bin\llvm-ranlib.exe: error: Invalid option: '--D'`.
Due to the .exe after llvm-ranlib the existing CHECK lines do not match.
Fix this by ignoring the program name and starting the check line at "error:".




More information about the All-commits mailing list