1 /* 2 * Copyright (c) 2013, Google, Inc. All rights reserved 3 * 4 * Use of this source code is governed by a MIT-style 5 * license that can be found in the LICENSE file or at 6 * https://opensource.org/licenses/MIT 7 */ 8 #include <lib/unittest.h> 9 10 #include <app.h> 11 12 /* simple app to run all of the unittests at boot */ unittest_entry(const struct app_descriptor * app,void * args)13void unittest_entry(const struct app_descriptor *app, void *args) { 14 run_all_tests(); 15 } 16 17 APP_START(unittest) 18 .entry = unittest_entry, 19 APP_END 20