()
| 415 | ); |
| 416 | assert!( |
| 417 | !uart.contains("memory self-test failed"), |
| 418 | "memory self-test must not fail; uart={uart:?}" |
| 419 | ); |
| 420 | } |
| 421 | |
| 422 | #[test] |
| 423 | fn heap_smoke_test_passes() { |
| 424 | let (uart, exit) = run_kernel_hll(runtime_source("kernel/core/my_kernel.hll")); |
| 425 | assert_eq!(exit, Some(0), "kernel must exit cleanly; uart={uart:?}"); |
| 426 | assert!( |
| 427 | uart.contains("[ OK ] heap ready\n"), |
| 428 | "heap smoke-test must pass; uart={uart:?}" |
| 429 | ); |
nothing calls this directly
no outgoing calls
no test coverage detected