![]() |
MOS Source Code
|
#include "mos/platform/platform.hpp"#include "test_engine_impl.h"#include <mos/lib/structures/list.hpp>#include <mos/misc/cmdline.hpp>#include <mos/misc/panic.hpp>#include <mos/misc/setup.hpp>#include <mos/syslog/printk.hpp>#include <mos_stdio.hpp>#include <mos_stdlib.hpp>#include <mos_string.hpp>Go to the source code of this file.
Functions | |
| static void | test_engine_warning_handler (const char *func, u32 line, const char *fmt, va_list args) |
| static bool | mos_test_engine_setup_skip_prefix_list (mos::string_view arg) |
| MOS_SETUP ("mos_tests_skip_prefix", mos_test_engine_setup_skip_prefix_list) | |
| static bool | mos_tests_setup_halt_on_success (mos::string_view arg) |
| MOS_SETUP ("mos_tests_halt_on_success", mos_tests_setup_halt_on_success) | |
| static bool | mos_test_engine_should_skip (const char *test_name) |
| static bool | mos_test_engine_run_tests (mos::string_view arg) |
| MOS_SETUP ("mos_tests", mos_test_engine_run_tests) | |
Variables | |
| s32 | test_engine_n_warning_expected = 0 |
| static const char ** | test_engine_skip_prefix_list = NULL |
| static bool | mos_tests_halt_on_success = false |
|
static |
Definition at line 17 of file test_engine.cpp.
Referenced by mos_test_engine_run_tests().
|
static |
Definition at line 36 of file test_engine.cpp.
Referenced by MOS_SETUP().
| MOS_SETUP | ( | "mos_tests_skip_prefix" | , |
| mos_test_engine_setup_skip_prefix_list | ) |
|
static |
Definition at line 60 of file test_engine.cpp.
Referenced by MOS_SETUP().
| MOS_SETUP | ( | "mos_tests_halt_on_success" | , |
| mos_tests_setup_halt_on_success | ) |
|
static |
Definition at line 68 of file test_engine.cpp.
Referenced by mos_test_engine_run_tests().
|
static |
Definition at line 82 of file test_engine.cpp.
Referenced by MOS_SETUP().
| MOS_SETUP | ( | "mos_tests" | , |
| mos_test_engine_run_tests | ) |
| s32 test_engine_n_warning_expected = 0 |
Definition at line 15 of file test_engine.cpp.
Referenced by test_engine_warning_handler().
|
static |
Definition at line 33 of file test_engine.cpp.
Referenced by mos_test_engine_setup_skip_prefix_list(), and mos_test_engine_should_skip().
Definition at line 34 of file test_engine.cpp.
Referenced by mos_test_engine_run_tests(), and mos_tests_setup_halt_on_success().