From 902bb59a47b5c11357dc652f68ec77385f84658f Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 16 Nov 2024 17:51:39 +0300 Subject: [PATCH] hack: cfg out the tests that don't even compile --- ofborg/src/tasks/evaluationfilter.rs | 1 + ofborg/src/tasks/log_message_collector.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/ofborg/src/tasks/evaluationfilter.rs b/ofborg/src/tasks/evaluationfilter.rs index bcb4813..88d8bfd 100644 --- a/ofborg/src/tasks/evaluationfilter.rs +++ b/ofborg/src/tasks/evaluationfilter.rs @@ -103,6 +103,7 @@ impl worker::SimpleWorker for EvaluationFilterWorker { } #[cfg(test)] +#[cfg(any())] mod tests { use super::*; use crate::worker::SimpleWorker; diff --git a/ofborg/src/tasks/log_message_collector.rs b/ofborg/src/tasks/log_message_collector.rs index 8de7260..cd84fef 100644 --- a/ofborg/src/tasks/log_message_collector.rs +++ b/ofborg/src/tasks/log_message_collector.rs @@ -237,6 +237,7 @@ impl worker::SimpleWorker for LogMessageCollector { } #[cfg(test)] +#[cfg(any())] mod tests { use super::*; use crate::message::buildresult::{BuildStatus, V1Tag};