2008-09-01 02:26:09 -07:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2008 Travis Geiselbrecht
|
|
|
|
|
*
|
2019-07-05 17:22:23 -07:00
|
|
|
* 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
|
2008-09-01 02:26:09 -07:00
|
|
|
*/
|
2009-01-24 21:21:54 -08:00
|
|
|
#include <app.h>
|
2019-06-17 18:28:51 -07:00
|
|
|
#include <lk/debug.h>
|
2008-09-01 02:26:09 -07:00
|
|
|
#include <app/tests.h>
|
2019-06-17 18:28:51 -07:00
|
|
|
#include <lk/compiler.h>
|
2008-09-01 02:26:09 -07:00
|
|
|
|
2019-07-13 16:56:33 -07:00
|
|
|
#include <lk/console_cmd.h>
|
2008-09-01 02:26:09 -07:00
|
|
|
|
|
|
|
|
STATIC_COMMAND_START
|
2018-12-16 17:33:22 -08:00
|
|
|
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)
|
2016-10-29 17:24:11 -07:00
|
|
|
STATIC_COMMAND("cbuf_tests", "test lib/cbuf", &cbuf_tests)
|
2023-12-26 15:14:05 +08:00
|
|
|
STATIC_COMMAND("v9p_tests", "test dev/virtio/9p", &v9p_tests)
|
2024-04-19 19:33:13 +08:00
|
|
|
STATIC_COMMAND("v9fs_tests", "test lib/fs/9p", &v9fs_tests)
|
2008-09-01 02:26:09 -07:00
|
|
|
STATIC_COMMAND_END(tests);
|