zephyr/tests/kernel/arm_irq_vector_table/src/main.c
Niranjhana N 8dc47d6a3b tests: arm_irq_vector_table: convert to ztest
- file already had ztest functions
- separated the main file into two:
    - main.c, which has the ztest entry
    - arm_irq_vector_table.c, which has the original routines

JIRA: ZEP-2382

Signed-off-by: Niranjhana N <niranjhana.n@intel.com>
2017-08-07 22:31:27 -04:00

21 lines
391 B
C

/*
* Copyright (c) 2017 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#if !defined(CONFIG_CPU_CORTEX_M)
#error project can only run on Cortex-M
#endif
#include <ztest.h>
extern void test_arm_irq_vector_table(void);
void test_main(void)
{
ztest_test_suite(vector_table_test,
ztest_unit_test(test_arm_irq_vector_table));
ztest_run_test_suite(vector_table_test);
}