Skip to content
Permalink
Browse files

tests: remove the exception for arc

the tested feature is supported now, remove the exception

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
  • Loading branch information...
vonhust authored and ioannisg committed Aug 9, 2019
1 parent db8ddaa commit 73df065616e70f61e49b572a45b97d51e710b7e1
Showing with 0 additions and 20 deletions.
  1. +0 −20 tests/kernel/mem_protect/userspace/src/main.c
@@ -1117,47 +1117,27 @@ void test_object_recycle(void)

void test_oops_panic(void)
{
#if !defined(CONFIG_ARC)
test_oops(K_ERR_KERNEL_PANIC, K_ERR_KERNEL_OOPS);
#else
ztest_test_skip(); /* FIXME: #17590 */
#endif
}

void test_oops_oops(void)
{
#if !defined(CONFIG_ARC)
test_oops(K_ERR_KERNEL_OOPS, K_ERR_KERNEL_OOPS);
#else
ztest_test_skip(); /* FIXME: #17590 */
#endif
}

void test_oops_exception(void)
{
#if !defined(CONFIG_ARC)
test_oops(K_ERR_CPU_EXCEPTION, K_ERR_KERNEL_OOPS);
#else
ztest_test_skip(); /* FIXME: #17590 */
#endif
}

void test_oops_maxint(void)
{
#if !defined(CONFIG_ARC)
test_oops(INT_MAX, K_ERR_KERNEL_OOPS);
#else
ztest_test_skip(); /* FIXME: #17590 */
#endif
}

void test_oops_stackcheck(void)
{
#if !defined(CONFIG_ARC)
test_oops(K_ERR_STACK_CHK_FAIL, K_ERR_STACK_CHK_FAIL);
#else
ztest_test_skip(); /* FIXME: #17590 */
#endif
}

void test_main(void)

0 comments on commit 73df065

Please sign in to comment.
You can’t perform that action at this time.