1// Copyright 2016 The Fuchsia Authors
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 "tests.h"
9
10#include <debug.h>
11#include <zircon/compiler.h>
12
13#include <lib/console.h>
14
15#include <assert.h>
16#include <err.h>
17#include <platform.h>
18#include <lib/unittest/unittest.h>
19
20STATIC_COMMAND_START
21STATIC_COMMAND("thread_tests", "test the scheduler", &thread_tests)
22STATIC_COMMAND("clock_tests", "test clocks", &clock_tests)
23STATIC_COMMAND("sleep_tests", "tests sleep", &sleep_tests)
24STATIC_COMMAND("bench", "miscellaneous benchmarks", &benchmarks)
25STATIC_COMMAND("fibo", "threaded fibonacci", &fibo)
26STATIC_COMMAND("spinner", "create a spinning thread", &spinner)
27STATIC_COMMAND("timer_diag", "prints timer diagnostics", &timer_diag)
28STATIC_COMMAND("timer_stress", "runs a timer stress test", &timer_stress)
29STATIC_COMMAND("uart_tests", "tests uart Tx", &uart_tests)
30STATIC_COMMAND_END(tests);
31