[all-commits] [llvm/llvm-project] b9fd37: Revert "[lit] Keep original cfg file case around."

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Apr 15 14:20:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b9fd375d75d4bbf34453696127854d0192e3ccf6
      https://github.com/llvm/llvm-project/commit/b9fd375d75d4bbf34453696127854d0192e3ccf6
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-04-15 (Wed, 15 Apr 2020)

  Changed paths:
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/utils/lit/lit/discovery.py
    M llvm/utils/lit/lit/llvm/config.py
    M llvm/utils/lit/tests/Inputs/config-map-discovery/driver.py
    M llvm/utils/llvm-lit/llvm-lit.in

  Log Message:
  -----------
  Revert "[lit] Keep original cfg file case around."

This reverts commit bc3f54de1827e58655c34477d09211cbc42589bd.

The patch breaks in the following two scenarios:

1. When manually passing an absolute path to llvm-lit with a lower-case
   drive letter: `python bin\llvm-lit.py -sv c:\llvm-project\clang\test\PCH`

2. When the PWD has a lower-case drive letter, like after running
   `cd c:\` with a lower-case "c:" (cmd's default is upper-case, but
   it takes case-ness from what's passed to `cd` apparently).




More information about the All-commits mailing list