rename "testing" flag to gfx-testing so as to avoid namespace collision

This commit is contained in:
bunnie 2022-10-24 00:36:30 +08:00
parent 1b70801861
commit 359da58cd2
2 changed files with 3 additions and 3 deletions

View file

@ -31,6 +31,6 @@ hosted = ["utralib/hosted"]
renode = ["utralib/renode", "xous/renode"]
debugprint = []
braille = []
testing = []
gfx-testing = []
ditherpunk = []
default = []

View file

@ -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