mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
setup modals testing feature in the console runner
This commit is contained in:
parent
77d18530f7
commit
5a36ebbb58
2 changed files with 7 additions and 0 deletions
|
|
@ -39,4 +39,5 @@ hosted-baosec = [
|
||||||
"cramium-emu",
|
"cramium-emu",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
modal-testing = []
|
||||||
default = []
|
default = []
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,12 @@ fn main() {
|
||||||
let tt = ticktimer::Ticktimer::new().unwrap();
|
let tt = ticktimer::Ticktimer::new().unwrap();
|
||||||
shell::start_shell();
|
shell::start_shell();
|
||||||
|
|
||||||
|
#[cfg(feature = "modal-testing")]
|
||||||
|
{
|
||||||
|
log::set_max_level(log::LevelFilter::Debug);
|
||||||
|
modals::tests::spawn_test();
|
||||||
|
}
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
// just sleep as this is the parent thread
|
// just sleep as this is the parent thread
|
||||||
tt.sleep_ms(120_000).ok();
|
tt.sleep_ms(120_000).ok();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue