Skip to content

Commit

Permalink
test/core: remove removed irq related API test cases
Browse files Browse the repository at this point in the history
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Nov 1, 2024
1 parent 82ef219 commit 11fc37a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/core/test_csr.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ __INTERRUPT void SOC_MTIMER_HANDLER(void)
{
// Clear Systimer pending flag by set compare value very large
SysTimer_SetCompareValue(0xFFFFFFFF);
IRQC_ClearPendingIRQ(SysTimer_IRQn);
IRQC_DisableIRQ(SysTimer_IRQn);
}

Expand All @@ -138,7 +137,6 @@ CTEST(core, wfi)
__WFI();
ASSERT_NOT_EQUAL(IRQC_GetEnableIRQ(SysTimer_IRQn), 0);
IRQC_DisableIRQ(SysTimer_IRQn);
IRQC_ClearPendingIRQ(SysTimer_IRQn);
SysTick_Config(10);
SysTimer_Start();
__enable_irq();
Expand Down Expand Up @@ -185,7 +183,6 @@ CTEST(core, sleepmode)
// Should not enter interrupt handler
ASSERT_NOT_EQUAL(IRQC_GetEnableIRQ(SysTimer_IRQn), 0);
IRQC_DisableIRQ(SysTimer_IRQn);
IRQC_ClearPendingIRQ(SysTimer_IRQn);
SysTick_Config(100);
__enable_irq();
// Uncomment the following line, the CPU will enter to deep sleep
Expand Down

0 comments on commit 11fc37a

Please sign in to comment.