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

Do not print exit code from miri, instead it should be the return value of the script #1873

Merged
merged 1 commit into from Jun 16, 2022

Conversation

jhorstmann
Copy link
Contributor

Which issue does this PR close?

Small followup to #1863

Related to #1872, I think the leak reported there should have failed the pipeline

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@@ -15,4 +15,3 @@ cargo clean

echo "Starting Arrow MIRI run..."
cargo miri test -p arrow -- --skip csv --skip ipc --skip json
Copy link
Member

Choose a reason for hiding this comment

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

You could use something like:

cargo miri test -p arrow -- --skip csv --skip ipc --skip json
MIRI_RETURN_CODE=$?
echo "Miri finished with exit code $MIRI_RETURN_CODE"
exit $MIRI_RETURN_CODE

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, that would work. I now realized that the status is already printed:

Error: Process completed with exit code 1.

@tustvold
Copy link
Contributor

I think this just needs a rebase and then it can go in?

@tustvold tustvold merged commit 4230f7a into apache:master Jun 16, 2022
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.

None yet

4 participants