zephyr/tests/kernel/interrupt/src/main.c
Ajay Kishore 2a103ea674 tests: add tests to validate interrupt nesting feature
This test is intended to verify the interrupt nesting.
Interrupt nesting feature allows an ISR to be preempted
in mid-execution if a higher priority interrupt is signaled.
The lower priority ISR resumes execution once the higher
priority ISR has completed its processing.

Signed-off-by: Ajay Kishore <ajay.kishore@intel.com>
2018-10-10 19:59:47 -04:00

20 lines
384 B
C

/*
* Copyright (c) 2018 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
extern void test_nested_isr(void);
extern void test_prevent_interruption(void);
void test_main(void)
{
ztest_test_suite(interrupt_feature,
ztest_unit_test(test_nested_isr),
ztest_unit_test(test_prevent_interruption)
);
ztest_run_test_suite(interrupt_feature);
}