mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +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",
|
||||
]
|
||||
|
||||
modal-testing = []
|
||||
default = []
|
||||
|
|
|
|||
|
|
@ -12,6 +12,12 @@ fn main() {
|
|||
let tt = ticktimer::Ticktimer::new().unwrap();
|
||||
shell::start_shell();
|
||||
|
||||
#[cfg(feature = "modal-testing")]
|
||||
{
|
||||
log::set_max_level(log::LevelFilter::Debug);
|
||||
modals::tests::spawn_test();
|
||||
}
|
||||
|
||||
loop {
|
||||
// just sleep as this is the parent thread
|
||||
tt.sleep_ms(120_000).ok();
|
||||
|
|
|
|||
Loading…
Reference in a new issue