Skip to content

Cherry-pick "[clang][deps] Substitute clang-scan-deps executable in lit tests" #3199

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

Merged
merged 1 commit into from
Aug 26, 2021

Conversation

jansvoboda11
Copy link

Cherry-pick of 2718ae3.

The lit tests for `clang-scan-deps` invoke the tool without going through the substitution system. While the test runner correctly picks up the `clang-scan-deps` binary from the build directory, it doesn't print its absolute path. When copying the invocations when reproducing test failures, this can result in `command not found: clang-scan-deps` errors or worse yet: pick up the system `clang-scan-deps`. This patch adds new local `%clang-scan-deps` substitution.

Reviewed By: lxfind, dblaikie

Differential Revision: https://reviews.llvm.org/D107155
@jansvoboda11
Copy link
Author

@swift-ci test

@jansvoboda11
Copy link
Author

Failures look unrelated, merging...

@jansvoboda11 jansvoboda11 merged commit 720b9cb into stable/20210726 Aug 26, 2021
@jansvoboda11 jansvoboda11 deleted the jan_svoboda/cherry-pick_1 branch August 26, 2021 16:30
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.

1 participant