-
Notifications
You must be signed in to change notification settings - Fork 352
Fix the following CAS-related tests on Windows #11320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Clang :: ClangScanDeps/cas-case-sensitivity.c Clang :: ClangScanDeps/cas-fs-multiple-commands.c Clang :: ClangScanDeps/include-tree-preserve-pch-path.c
|
@swift-ci please test llvm |
|
Existing test failures |
|
|
||
| // 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-/} |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
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)
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