mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-06 09:41:56 +00:00
Move all the tests into an include file that is included once from the main C-compiled module, and again from a linked in C++-compiled module. The C compile invokes both test suites. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
21 lines
258 B
C
21 lines
258 B
C
/*
|
|
* Copyright (c) 2019 Oticon A/S
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <ztest.h>
|
|
#include <sys/util.h>
|
|
#include <string.h>
|
|
|
|
#include "test.inc"
|
|
|
|
void test_cxx(void);
|
|
void test_cc(void);
|
|
|
|
void test_main(void)
|
|
{
|
|
test_cc();
|
|
test_cxx();
|
|
}
|