diff --git a/services/graphics-server/Cargo.toml b/services/graphics-server/Cargo.toml index 7e17c1d1b..a60b88a26 100644 --- a/services/graphics-server/Cargo.toml +++ b/services/graphics-server/Cargo.toml @@ -31,6 +31,6 @@ hosted = ["utralib/hosted"] renode = ["utralib/renode", "xous/renode"] debugprint = [] braille = [] -testing = [] +gfx-testing = [] ditherpunk = [] default = [] diff --git a/services/graphics-server/src/main.rs b/services/graphics-server/src/main.rs index 6401e2d88..ad820c12f 100644 --- a/services/graphics-server/src/main.rs +++ b/services/graphics-server/src/main.rs @@ -36,7 +36,7 @@ use std::sync::Arc; use crate::wordwrap::*; use core::ops::Add; -#[cfg(feature = "testing")] +#[cfg(feature = "gfx-testing")] mod testing; fn draw_boot_logo(display: &mut XousDisplay) { @@ -154,7 +154,7 @@ fn wrapped_main() -> ! { let ticktimer = ticktimer_server::Ticktimer::new().unwrap(); - #[cfg(feature = "testing")] + #[cfg(feature = "gfx-testing")] testing::tests(); loop { if !is_panic.load(Ordering::Relaxed) { // non-panic graphics operations if we are in a panic situation