/* * Copyright (c) 2008 Travis Geiselbrecht * * Use of this source code is governed by a MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT */ #include #include #include #include #include STATIC_COMMAND_START STATIC_COMMAND("thread_tests", "test the scheduler", &thread_tests) STATIC_COMMAND("port_tests", "test the ports", &port_tests) STATIC_COMMAND("clock_tests", "test clocks", &clock_tests) STATIC_COMMAND("bench", "miscellaneous benchmarks", &benchmarks) STATIC_COMMAND("fibo", "threaded fibonacci", &fibo) STATIC_COMMAND("spinner", "create a spinning thread", &spinner) STATIC_COMMAND("cbuf_tests", "test lib/cbuf", &cbuf_tests) STATIC_COMMAND("v9p_tests", "test dev/virtio/9p", &v9p_tests) STATIC_COMMAND("v9fs_tests", "test lib/fs/9p", &v9fs_tests) STATIC_COMMAND_END(tests);