1 /*
2  * Copyright (c) 2023 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include "bstests.h"
8 #include "bs_bt_utils.h"
9 
10 extern void central(void);
11 extern void peripheral(void);
12 
13 static const struct bst_test_instance test_to_add[] = {
14 	{
15 		.test_id = "central",
16 		.test_main_f = central,
17 	},
18 	{
19 		.test_id = "peripheral",
20 		.test_main_f = peripheral,
21 	},
22 	BSTEST_END_MARKER,
23 };
24 
install(struct bst_test_list * tests)25 static struct bst_test_list *install(struct bst_test_list *tests)
26 {
27 	return bst_add_tests(tests, test_to_add);
28 };
29 
30 bst_test_install_t test_installers[] = {install, NULL};
31 
main(void)32 int main(void)
33 {
34 	bst_main();
35 	return 0;
36 }
37