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

CI: Modify regex #638

Closed

Conversation

tcharding
Copy link
Member

Found while working on #635

The out of the test test_panic_raw_ctx_should_terminate_abnormally seems to have changed with a recent update of cargo causing our grep call to fail.

The error now looks like

thread 'tests::test_panic_raw_ctx_should_terminate_abnormally' panicked at secp256k1-sys/src/lib.rs:904:5:
[libsecp256k1] illegal argument.
!rustsecp256k1_v0_8_1_fe_is_zero(&ge->x)

Based solely on this output and the fact that our grep statement used to work I conclude that the output now includes new line information.

Modify the regex to do non-greedy comparison against everything before the [libsecp256k1] bit.

The out of the test `test_panic_raw_ctx_should_terminate_abnormally`
seems to have changed with a recent update of `cargo` causing our `grep`
call to fail.

The error now looks like
```
thread 'tests::test_panic_raw_ctx_should_terminate_abnormally' panicked at secp256k1-sys/src/lib.rs:904:5:
[libsecp256k1] illegal argument.
!rustsecp256k1_v0_8_1_fe_is_zero(&ge->x)
```

Based solely on this output and the fact that our `grep` statement used
to work I conclude that the output now includes new line information.

Modify the regex to do non-greedy comparison against everything before
the `[libsecp256k1]` bit.
@tcharding
Copy link
Member Author

Wrong.

@tcharding tcharding closed this Aug 7, 2023
@tcharding tcharding deleted the 08-07-modify-test-regex branch August 7, 2023 00:32
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