HomePhabricator

[Dexter] Add os.path.normcase(...) transform to test path early.

Authored by TWeaver on Jun 2 2020, 8:09 AM.

Description

[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

Details

Committed
TWeaverJun 2 2020, 8:09 AM
Parents
rG53c29a42d044: Reinstate the syntax tree test for 'static' in an array subscript
Branches
Unknown
Tags
Unknown