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