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

Log more in rust tests #6060

Merged
merged 2 commits into from
Jul 3, 2018
Merged

Conversation

illicitonion
Copy link
Contributor

This should expose recursive backtraces when we see:
'thread panicked while panicking'

This should expose recursive backtraces when we see:
'thread panicked while panicking'
@illicitonion illicitonion requested a review from jsirois July 2, 2018 08:57
@@ -223,7 +223,7 @@ if [[ "${skip_rust_tests:-false}" == "false" ]]; then
test_threads_flag="--test-threads=1"
fi

RUST_BACKTRACE=1 "${REPO_ROOT}/build-support/bin/native/cargo" test --all \
RUST_BACKTRACE=all "${REPO_ROOT}/build-support/bin/native/cargo" test --all --nocapture \
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like this needs to be cargo test --all -- --nocapture.

@kwlzn kwlzn merged commit cafd732 into pantsbuild:master Jul 3, 2018
@illicitonion illicitonion deleted the dwagnerhall/rusttests branch August 15, 2018 03:28
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