Skip to content
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

cargo_build_script: add some tests for the cc_args_and_env processing #2931

Merged
merged 4 commits into from
Oct 14, 2024

Conversation

krasimirgg
Copy link
Collaborator

@krasimirgg krasimirgg commented Oct 9, 2024

Follow-up from #2917: add some cargo_build_script regression tests for the cc_toolchain processing.

@krasimirgg krasimirgg marked this pull request as ready for review October 10, 2024 10:28
@krasimirgg krasimirgg requested a review from UebelAndre October 10, 2024 10:28
Copy link
Collaborator

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

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

Awesome, thank you!

@krasimirgg krasimirgg added this pull request to the merge queue Oct 14, 2024
Merged via the queue into bazelbuild:main with commit 95563e5 Oct 14, 2024
4 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Oct 17, 2024
#2931 added tests for _pwd_flags, however 
the test as-is passes with #2911 and #2922,
which still caused problems and reverted.
Here I introduce a test case for likely
unfixed in reverted #2925.

The test needs strictter check for cflags. As-ls
`flag in cflags` is a just substring search and
very weak test for abs path.

For #2917
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.

2 participants