You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test that checks for a panic uses `cargo test --exact`, it makes
sense to put it at the top of the script right after we run `cargo test`
so we can run the test without triggering a re-build.
Copy file name to clipboardExpand all lines: contrib/test.sh
+3-3
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,9 @@ fi
15
15
cargo --version
16
16
rustc --version
17
17
18
+
# Test if panic in C code aborts the process (either with a real panic or with SIGILL)
19
+
cargo test -- --ignored --exact 'tests::test_panic_raw_ctx_should_terminate_abnormally'2>&1| tee /dev/stderr | grep "SIGILL\\|panicked at '\[libsecp256k1\]"
# Test if panic in C code aborts the process (either with a real panic or with SIGILL)
90
-
cargo test -- --ignored --exact 'tests::test_panic_raw_ctx_should_terminate_abnormally'2>&1| tee /dev/stderr | grep "SIGILL\\|panicked at '\[libsecp256k1\]"
0 commit comments