[all-commits] [llvm/llvm-project] bf1cdc: [Dexter] Add os.path.normcase(...) transform to te...

Tom Weaver via All-commits all-commits at lists.llvm.org
Tue Jun 2 08:12:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bf1cdc2c6c0460b7121ac653c796ef4995b1dfa9
      https://github.com/llvm/llvm-project/commit/bf1cdc2c6c0460b7121ac653c796ef4995b1dfa9
  Author: Tom Weaver <Tom.Weaver at Sony.com>
  Date:   2020-06-02 (Tue, 02 Jun 2020)

  Changed paths:
    M debuginfo-tests/dexter/dex/tools/TestToolBase.py

  Log Message:
  -----------
  [Dexter] Add os.path.normcase(...) transform to test path early.

  When passing a test path, if the path points directly at a file, then
  normcase would not be called on path.

  This would change the expected lower case drive path, on windows, to be
  uppercase. This patch simply calls normcase on the test path at the earliest
  point possible to avoid this issue.

  Reviewers: djtodoro, jmorse

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




More information about the All-commits mailing list