MCPcopy Create free account
hub / github.com/Bareflank/hypervisor / main

Function main

loader/tests/src/test_helpers.cpp:83–91  ·  view source on GitHub ↗

<!-- description --> @brief Main function for this unit test. If a call to bsl::ut_check() fails the application will fast fail. If all calls to bsl::ut_check() pass, this function will successfully return with bsl::exit_success. <!-- inputs/outputs --> @return Always returns bsl::exit_success.

Source from the content-addressed store, hash-verified

81/// @return Always returns bsl::exit_success.
82///
83[[nodiscard]] auto
84main() noexcept -> bsl::exit_code
85{
86 helpers::serial_write_c({});
87 helpers::serial_write_hex({});
88
89 bsl::enable_color();
90 return loader::tests();
91}

Callers

nothing calls this directly

Calls 3

serial_write_hexFunction · 0.85
testsFunction · 0.70
serial_write_cFunction · 0.50

Tested by

no test coverage detected