Skip to content

Commit

Permalink
Temporarily disable all nightly third-party tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Feb 8, 2024
1 parent a029907 commit cdebe0b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions cargo-test-fuzz/tests/third_party.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,23 @@ static TESTS: Lazy<Vec<Test>> = Lazy::new(|| {
// smoelius: This should match `scripts/update_patches.sh`.
const LINES_OF_CONTEXT: u32 = 2;

#[cfg_attr(dylint_lib = "supplementary", allow(commented_code))]
mod cheap_tests {
use super::*;

#[cfg_attr(dylint_lib = "supplementary", allow(commented_code))]
#[test]
fn test() {
let version_meta = version_meta().unwrap();
for test in TESTS.iter() {
#[allow(clippy::nonminimal_bool)]
run_test(
module_path!(),
test,
test.flags.contains(Flags::EXPENSIVE)
// || test.flags.contains(Flags::SKIP)
|| (test.flags.contains(Flags::SKIP_NIGHTLY)
// smoelius: Temporarily disable all nightly third-party tests.
// See: https://github.com/tkaitchuck/aHash/issues/200
|| (true // test.flags.contains(Flags::SKIP_NIGHTLY)
&& version_meta.channel == Channel::Nightly),
);
}
Expand All @@ -65,16 +69,21 @@ mod cheap_tests {

mod all_tests {
use super::*;

#[cfg_attr(dylint_lib = "supplementary", allow(commented_code))]
#[test]
#[ignore]
fn test() {
let version_meta = version_meta().unwrap();
for test in TESTS.iter() {
#[allow(clippy::nonminimal_bool)]
run_test(
module_path!(),
test,
// test.flags.contains(Flags::SKIP) ||
test.flags.contains(Flags::SKIP_NIGHTLY)
// smoelius: Temporarily disable all nightly third-party tests.
// See: https://github.com/tkaitchuck/aHash/issues/200
true // test.flags.contains(Flags::SKIP_NIGHTLY)
&& version_meta.channel == Channel::Nightly,
);
}
Expand Down

0 comments on commit cdebe0b

Please sign in to comment.