diff --git a/tests/dist.rs b/tests/dist.rs index 7e98cfbfed..516d0a179a 100644 --- a/tests/dist.rs +++ b/tests/dist.rs @@ -25,7 +25,7 @@ mod harness; fn basic_compile(tmpdir: &Path, sccache_cfg_path: &Path, sccache_cached_cfg_path: &Path) { let envs: Vec<(_, &OsStr)> = vec![ ("RUST_BACKTRACE", "1".as_ref()), - ("SCCACHE_LOG", "sccache=trace".as_ref()), + ("SCCACHE_LOG", "trace".as_ref()), ("SCCACHE_CONF", sccache_cfg_path.as_ref()), ("SCCACHE_CACHED_CONF", sccache_cached_cfg_path.as_ref()), ]; diff --git a/tests/harness/mod.rs b/tests/harness/mod.rs index e5da248f35..64610b7866 100644 --- a/tests/harness/mod.rs +++ b/tests/harness/mod.rs @@ -25,16 +25,6 @@ use predicates::prelude::*; use serde::Serialize; use uuid::Uuid; -#[cfg(feature = "dist-server")] -macro_rules! matches { - ($expression:expr, $($pattern:tt)+) => { - match $expression { - $($pattern)+ => true, - _ => false - } - } -} - const CONTAINER_NAME_PREFIX: &str = "sccache_dist_test"; const DIST_IMAGE: &str = "sccache_dist_test_image"; const DIST_DOCKERFILE: &str = include_str!("Dockerfile.sccache-dist");