Skip to content

Conversation

@hjyamauchi
Copy link

Fix the following CAS-related tests on Windows

Clang :: ClangScanDeps/cas-case-sensitivity.c
Clang :: ClangScanDeps/cas-fs-multiple-commands.c
Clang :: ClangScanDeps/include-tree-preserve-pch-path.c

Clang :: ClangScanDeps/cas-case-sensitivity.c
Clang :: ClangScanDeps/cas-fs-multiple-commands.c
Clang :: ClangScanDeps/include-tree-preserve-pch-path.c
@hjyamauchi
Copy link
Author

@swift-ci please test llvm

@hjyamauchi
Copy link
Author

Existing test failures

 Failed Tests (19):
   Clang :: CodeGenCXX/ptrauth-explicit-vtable-pointer-control.cpp
   Clang :: Index/Store/record-hash-using.cpp
   Clang :: Refactor/FillInEnumSwitchCases/fill-in-cases-forward-decl.c
   Clang :: Refactor/ImplementDeclaredMethods/implement-declared-methods.cpp
   Clang :: Refactor/Rename/CanonicalizeInstantiatedDecls.cpp
   Clang :: Refactor/Rename/ClassAsTemplateArgument.cpp
   Clang :: Refactor/Rename/ClassSimpleRenaming.cpp
   Clang :: Refactor/Rename/ComplicatedClassType.cpp
   Clang :: Refactor/Rename/Ctor.cpp
   Clang :: Refactor/Rename/MultiFileTU.cpp
   Clang :: Refactor/Rename/ProhibitedDeclarations.cpp
   Clang :: Refactor/Rename/TransparentTypedef.m
   Clang :: Refactor/Rename/TypedefTag.cpp
   Clang :: Refactor/Rename/UserDefinedConversion.cpp
   Clang :: Refactor/Rename/UsingDecl.cpp
   Clang :: Refactor/Rename/rename-initiate-usr.cpp
   Clang :: Refactor/Rename/rename-initiate.cpp
   LLVM :: CAS/LEB-mccas.ll
   LLVM :: Transforms/PhaseOrdering/X86/excessive-unrolling.ll

@hjyamauchi hjyamauchi marked this pull request as ready for review September 4, 2025 19:57
@cachemeifyoucan cachemeifyoucan requested review from cachemeifyoucan and jansvoboda11 and removed request for jansvoboda11 September 4, 2025 22:53

// RUN: llvm-cas --cas %t/cas --ls-tree-recursive @%t/casid1 | FileCheck -check-prefix=TREE %s -DPREFIX=%/t
// RUN: llvm-cas --cas %t/cas --ls-tree-recursive @%t/casid2 | FileCheck -check-prefix=TREE %s -DPREFIX=%/t
// RUN: llvm-cas --cas %t/cas --ls-tree-recursive @%t/casid1 | FileCheck -check-prefix=TREE %s -DPREFIX=%{t-tree-/}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain what the difference between %/t and %{t-tree-/} is?

Copy link
Author

@hjyamauchi hjyamauchi Sep 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Windows %{t-tree-/} has an extra prefix / like /C:/foo. tree stands for the tree path which we currently/internally define this way to handle multiple roots for Windows. No difference on non-Windows.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jansvoboda11 is it okay to merge?

@hjyamauchi hjyamauchi merged commit 9cf17f4 into swiftlang:next Sep 5, 2025
0 of 2 checks passed
hjyamauchi added a commit that referenced this pull request Oct 9, 2025
Clang :: ClangScanDeps/cas-case-sensitivity.c
Clang :: ClangScanDeps/cas-fs-multiple-commands.c
Clang :: ClangScanDeps/include-tree-preserve-pch-path.c

(Cherry picked from commit 9cf17f4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants