<!-- 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.
| 311 | /// @return Always returns bsl::exit_success. |
| 312 | /// |
| 313 | [[nodiscard]] auto |
| 314 | main() noexcept -> bsl::exit_code |
| 315 | { |
| 316 | platform_expects(1); |
| 317 | platform_ensures(1); |
| 318 | |
| 319 | platform_dump_vmm(); |
| 320 | platform_mark_gdt_writable(); |
| 321 | platform_mark_gdt_readonly(); |
| 322 | |
| 323 | helpers::esr_default(); |
| 324 | helpers::esr_df(); |
| 325 | helpers::esr_gpf(); |
| 326 | helpers::esr_nmi(); |
| 327 | helpers::esr_pf(); |
| 328 | |
| 329 | bsl::enable_color(); |
| 330 | return loader::tests(); |
| 331 | } |
nothing calls this directly
no test coverage detected