Look like zephyr mem_pool_threadsafe is a broken test
This commit is contained in:
parent
1c86bf7514
commit
4cbb93cfc8
|
@ -494,8 +494,17 @@ public:
|
|||
targetPrivilege = max(targetPrivilege, privilege);
|
||||
Xtvec xtvec = targetPrivilege == 3 ? mtvec : stvec;
|
||||
|
||||
|
||||
|
||||
switch(targetPrivilege){
|
||||
case 3:
|
||||
if(interrupt){
|
||||
if(!status.mie || !(ie.raw & (1 << cause)) || !(getIp().raw & (1 << cause))){
|
||||
cout << "DUT had trigger an interrupts which isnt pending in REF" << endl;
|
||||
fail();
|
||||
}
|
||||
}
|
||||
|
||||
if(valueWrite) mbadaddr = value;
|
||||
mcause.interrupt = interrupt;
|
||||
mcause.exceptionCode = cause;
|
||||
|
@ -505,6 +514,12 @@ public:
|
|||
mepc = pc;
|
||||
break;
|
||||
case 1:
|
||||
if(interrupt){
|
||||
if(!status.sie || !(ie.raw & (1 << cause)) || !(getIp().raw & (1 << cause))){
|
||||
cout << "DUT had trigger an interrupts which isnt pending in REF" << endl;
|
||||
fail();
|
||||
}
|
||||
}
|
||||
if(valueWrite) sbadaddr = value;
|
||||
scause.interrupt = interrupt;
|
||||
scause.exceptionCode = cause;
|
||||
|
@ -3350,12 +3365,11 @@ string freeRtosTests[] = {
|
|||
|
||||
string zephyrTests[] = {
|
||||
"tests_kernel_stack_stack_api",
|
||||
// "tests_kernel_mutex_mutex", //Too long
|
||||
"tests_kernel_context",
|
||||
// "tests_kernel_critical", //Too long
|
||||
"tests_kernel_fifo_fifo_api",
|
||||
"tests_kernel_mbox_mbox_usage",
|
||||
"tests_kernel_mem_pool_mem_pool_threadsafe",
|
||||
// "tests_kernel_mem_pool_mem_pool_threadsafe", //Lock like it's a zephyr issue ?
|
||||
"tests_kernel_sleep",
|
||||
"tests_kernel_timer_timer_api"
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue