1 /* 2 * Copyright (c) 2008 Travis Geiselbrecht 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 <app.h> 9 #include <lk/debug.h> 10 #include <app/tests.h> 11 #include <lk/compiler.h> 12 13 #include <lk/console_cmd.h> 14 15 STATIC_COMMAND_START 16 STATIC_COMMAND("thread_tests", "test the scheduler", &thread_tests) 17 STATIC_COMMAND("port_tests", "test the ports", &port_tests) 18 STATIC_COMMAND("clock_tests", "test clocks", &clock_tests) 19 STATIC_COMMAND("bench", "miscellaneous benchmarks", &benchmarks) 20 STATIC_COMMAND("fibo", "threaded fibonacci", &fibo) 21 STATIC_COMMAND("spinner", "create a spinning thread", &spinner) 22 STATIC_COMMAND("cbuf_tests", "test lib/cbuf", &cbuf_tests) 23 STATIC_COMMAND("v9p_tests", "test dev/virtio/9p", &v9p_tests) 24 STATIC_COMMAND("v9fs_tests", "test lib/fs/9p", &v9fs_tests) 25 STATIC_COMMAND_END(tests); 26