- 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>
21 lines
391 B
C
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);
|
|
}
|