blob: 1a41f6f8e27eb993d3bdc786ee87e02745f79f42 [file] [log] [blame]
Travis Geiselbrecht1d0df692008-09-01 02:26:09 -07001/*
2 * Copyright (c) 2008 Travis Geiselbrecht
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining
5 * a copy of this software and associated documentation files
6 * (the "Software"), to deal in the Software without restriction,
7 * including without limitation the rights to use, copy, modify, merge,
8 * publish, distribute, sublicense, and/or sell copies of the Software,
9 * and to permit persons to whom the Software is furnished to do so,
10 * subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be
13 * included in all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
19 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 */
Travis Geiselbrecht3f14b662009-01-24 21:21:54 -080023#include <app.h>
24#include <debug.h>
Travis Geiselbrecht1d0df692008-09-01 02:26:09 -070025#include <app/tests.h>
26#include <compiler.h>
27
Travis Geiselbrecht39deded2009-01-24 20:12:27 -080028#if defined(WITH_LIB_CONSOLE)
29#include <lib/console.h>
Travis Geiselbrecht1d0df692008-09-01 02:26:09 -070030
31STATIC_COMMAND_START
Ajay Dudanica0b6a22011-05-18 19:48:32 -070032STATIC_COMMAND("printf_tests", NULL, (console_cmd)&printf_tests)
33STATIC_COMMAND("thread_tests", NULL, (console_cmd)&thread_tests)
Travis Geiselbrecht1d0df692008-09-01 02:26:09 -070034STATIC_COMMAND_END(tests);
35
36#endif
37
Travis Geiselbrecht668383c2009-01-24 21:44:52 -080038static void tests_init(const struct app_descriptor *app)
Travis Geiselbrecht1d0df692008-09-01 02:26:09 -070039{
40}
41
Travis Geiselbrecht3f14b662009-01-24 21:21:54 -080042APP_START(tests)
Travis Geiselbrecht668383c2009-01-24 21:44:52 -080043 .init = tests_init,
44 .flags = 0,
Travis Geiselbrecht3f14b662009-01-24 21:21:54 -080045APP_END
46