Skip to content

Commit 28cc1b4

Browse files
authored
Merge pull request #166 from SUPERCILEX/miri
Ignore every test under miri
2 parents f2297a4 + cd04643 commit 28cc1b4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/spec.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@ impl RunnerSpec {
2323
pub(crate) fn case(
2424
&mut self,
2525
glob: &std::path::Path,
26-
expected: Option<crate::schema::CommandStatus>,
26+
#[cfg_attr(miri, allow(unused_variables))] expected: Option<crate::schema::CommandStatus>,
2727
) {
2828
self.cases.push(CaseSpec {
2929
glob: glob.into(),
30+
#[cfg(not(miri))]
3031
expected,
32+
#[cfg(miri)]
33+
expected: Some(crate::schema::CommandStatus::Skipped),
3134
});
3235
}
3336

0 commit comments

Comments
 (0)