Skip to content

test: Make tests pass with custom --target#2657

Merged
szokeasaurusrex merged 1 commit intomasterfrom
07-28-test_make_tests_pass_with_custom_--target_
Jul 28, 2025
Merged

test: Make tests pass with custom --target#2657
szokeasaurusrex merged 1 commit intomasterfrom
07-28-test_make_tests_pass_with_custom_--target_

Conversation

@szokeasaurusrex
Copy link
Copy Markdown
Member

@szokeasaurusrex szokeasaurusrex commented Jul 28, 2025

Currently, some tests fail because they assert target/debug/sentry-cli as the path to the binary. This fails when running cargo test with a custom --target.

Instead, let's stop asserting the path to the binary.

Copy link
Copy Markdown
Member Author

szokeasaurusrex commented Jul 28, 2025

@szokeasaurusrex szokeasaurusrex force-pushed the 07-28-test_make_tests_pass_with_custom_--target_ branch 2 times, most recently from cc37192 to 52e1dd8 Compare July 28, 2025 14:44
@szokeasaurusrex szokeasaurusrex marked this pull request as ready for review July 28, 2025 14:46
@szokeasaurusrex szokeasaurusrex requested a review from a team as a code owner July 28, 2025 14:46
Currently, some tests fail because they assert `target/debug/sentry-cli` as the path to the binary. This fails when running `cargo test` with a custom `--target`.

Instead, let's stop asserting the path to the binary.
@szokeasaurusrex szokeasaurusrex force-pushed the 07-28-test_make_tests_pass_with_custom_--target_ branch from 52e1dd8 to a39314e Compare July 28, 2025 15:05
@szokeasaurusrex szokeasaurusrex requested review from a team and loewenheim and removed request for a team and loewenheim July 28, 2025 16:02
@szokeasaurusrex szokeasaurusrex removed the request for review from loewenheim July 28, 2025 16:09
@szokeasaurusrex szokeasaurusrex merged commit a39314e into master Jul 28, 2025
28 checks passed
@szokeasaurusrex szokeasaurusrex deleted the 07-28-test_make_tests_pass_with_custom_--target_ branch July 28, 2025 16:14
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