Commit 41d68fdd authored by Thomas Levy's avatar Thomas Levy
Browse files

skip panic tests when using an assert which aborts

parent 573b77db
Pipeline #540 failed with stage
in 60 minutes and 4 seconds
......@@ -365,6 +365,7 @@ mod test {
}
#[test]
#[cfg(not(feature="write"))]
#[should_panic]
fn test_oob() {
let arr = b"lorem";
......
......@@ -89,6 +89,7 @@ mod test {
use super::*;
#[test]
#[cfg(not(feature="write"))]
#[should_panic]
fn test_panic_oom() {
fn panic() -> ! {
......@@ -101,6 +102,7 @@ mod test {
#[test]
#[should_panic]
#[cfg(not(feature="write"))]
#[cfg(feature = "tls")]
fn test_panic_thread_oom() {
fn infinite() -> ! {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment