[Dexter] Add os.path.normcase(...) transform to test path early.
authorTom Weaver <Tom.Weaver@Sony.com>
Tue, 2 Jun 2020 15:09:17 +0000 (16:09 +0100)
committerTom Weaver <Tom.Weaver@Sony.com>
Tue, 2 Jun 2020 15:09:17 +0000 (16:09 +0100)
commitbf1cdc2c6c0460b7121ac653c796ef4995b1dfa9
tree7a3f47c76757a94c83ba0a1974386fb183e521f5
parent53c29a42d044b167f6b5f28e096c8d9e50d6edc7
[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
debuginfo-tests/dexter/dex/tools/TestToolBase.py