mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-23 09:23:25 +00:00
Implement should_panic for ktest and clear the codebase
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
bb0560530f
commit
45a6b2f46c
@ -27,7 +27,10 @@ use crate::{
|
||||
Thread,
|
||||
},
|
||||
};
|
||||
use jinux_frame::{boot, exit_qemu, QemuExitCode};
|
||||
use jinux_frame::{
|
||||
arch::qemu::{exit_qemu, QemuExitCode},
|
||||
boot,
|
||||
};
|
||||
use process::Process;
|
||||
|
||||
extern crate alloc;
|
||||
|
@ -531,9 +531,6 @@ mod test {
|
||||
}
|
||||
|
||||
#[ktest]
|
||||
// FIXME: should_panic doesn't work with ktest, two negative makes a positive...
|
||||
#[should_panic]
|
||||
/// FIXME: alloc continuous frames is not supported now
|
||||
fn alloc_continuous_vmo() {
|
||||
let vmo = VmoOptions::<Full>::new(10 * PAGE_SIZE)
|
||||
.flags(VmoFlags::CONTIGUOUS)
|
||||
|
Reference in New Issue
Block a user