[all-commits] [llvm/llvm-project] 2b20df: [lit] Harmonize test timing data between Unix and ...

David Zarzycki via All-commits all-commits at lists.llvm.org
Wed Mar 17 04:43:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b20df2d798a0944e54918369a717634dbcaeaa6
      https://github.com/llvm/llvm-project/commit/2b20df2d798a0944e54918369a717634dbcaeaa6
  Author: David Zarzycki <dave at znu.io>
  Date:   2021-03-17 (Wed, 17 Mar 2021)

  Changed paths:
    M llvm/utils/lit/lit/Test.py
    M llvm/utils/lit/lit/main.py
    M llvm/utils/lit/tests/reorder.py

  Log Message:
  -----------
  [lit] Harmonize test timing data between Unix and Windows

The "path" recorded for timing purposes is only used as a key into a dictionary. It is never used as an actual path to a filesystem API, therefore we should use '/' as the canonical separator so that Unix and Windows machines can share timing data. This also ensures that the lit testing works across platforms.

Reviewed By: jhenderson, jmorse

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




More information about the All-commits mailing list