[all-commits] [llvm/llvm-project] d0ea8a: [unittests] Fix a recent test on Windows with LLVM...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Sun Sep 27 13:38:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d0ea8a8e46091f71684091f48412ce500165d76f
      https://github.com/llvm/llvm-project/commit/d0ea8a8e46091f71684091f48412ce500165d76f
  Author: Martin Storsjö <martin at martin.st>
  Date:   2026-09-27 (Sun, 27 Sep 2026)

  Changed paths:
    M llvm/unittests/Support/LLVMToolSession/LLVMToolSessionTest.cpp

  Log Message:
  -----------
  [unittests] Fix a recent test on Windows with LLVM_WINDOWS_PREFER_FORWARD_SLASH (#224963)

This fixes errors like these:
```
Expected equality of these values:
  Context.Path
    Which is: "D:/a/llvm-mingw/llvm-mingw/llvm-project/build/unittests/Support/LLVMToolSession/./LLVMToolSessionTests.exe"
  ExecutablePath.c_str()
    Which is: "D:\\a\\llvm-mingw\\llvm-mingw\\llvm-project\\build\\unittests\\Support\\LLVMToolSession\\.\\LLVMToolSessionTests.exe"
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list