From 11fc37a6f2408a4e4df7fb0cc511d5d1761d83b3 Mon Sep 17 00:00:00 2001 From: Huaqi Fang <578567190@qq.com> Date: Fri, 1 Nov 2024 18:27:25 +0800 Subject: [PATCH] test/core: remove removed irq related API test cases Signed-off-by: Huaqi Fang <578567190@qq.com> --- test/core/test_csr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/core/test_csr.c b/test/core/test_csr.c index 64f016ba..ec2edd90 100644 --- a/test/core/test_csr.c +++ b/test/core/test_csr.c @@ -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); } @@ -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(); @@ -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