[all-commits] [llvm/llvm-project] 695ec0: [libcxx] [test] Fix fs.op.proximate for windows

Martin Storsjö via All-commits all-commits at lists.llvm.org
Mon Mar 22 15:33:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 695ec081a4a09d58796c8b410801d2cefce7580b
      https://github.com/llvm/llvm-project/commit/695ec081a4a09d58796c8b410801d2cefce7580b
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/proximate.pass.cpp

  Log Message:
  -----------
  [libcxx] [test] Fix fs.op.proximate for windows

Simmilar to many other similar path handling tests, convert the
test reference to preferred separators, and ifdef a few test references
that use network root names.

Additionally, generalize code for trimming off the root path for
generating relative_cwd, and for skipping the root name element
in count_path_elems.

Rename one fictive path for consistency with the other test cases,
and add a bunch of more test cases for completeness.

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




More information about the All-commits mailing list