[all-commits] [llvm/llvm-project] b5e228: [libcxx] [test] Fix the temp_directory_path test f...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Mon Mar 15 10:25:53 PDT 2021


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

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

  Log Message:
  -----------
  [libcxx] [test] Fix the temp_directory_path test for windows

Check a different set of env vars, don't check the exact value
of the fallback path. (GetTempPath falls back to returning the Windows
folder if nothing better is available in env vars.)

The test still fails one check on windows (due to relying on perms::none),
which will be addressed separately.

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




More information about the All-commits mailing list