Comment on how to run ignored tests.

This commit is contained in:
Bill Thiede 2023-03-05 18:41:59 -08:00
parent e17751a992
commit 9e4b97e2e5

View File

@ -5,12 +5,11 @@ use std::{
}; };
use itertools::Itertools; use itertools::Itertools;
use notmuch::{Notmuch, NotmuchError, SearchSummary, ThreadSet};
use rayon::iter::{ParallelBridge, ParallelIterator}; use rayon::iter::{ParallelBridge, ParallelIterator};
use notmuch::{Notmuch, NotmuchError, SearchSummary, ThreadSet};
#[test] #[test]
#[ignore] // it is too expensive #[ignore] // it is too expensive, run with `cargo test -- --ignored`
fn parse_one() -> Result<(), Box<dyn Error>> { fn parse_one() -> Result<(), Box<dyn Error>> {
// take_hook() returns the default hook in case when a custom one is not set // take_hook() returns the default hook in case when a custom one is not set
let orig_hook = std::panic::take_hook(); let orig_hook = std::panic::take_hook();