code wiki / _hdl_build / nx_engineer_gate_runner_test.nx
nx_engineer_gate_runner_test.nx
buildroot/runtime/_hdl_build/nx_engineer_gate_runner_test.nx
about
nx_engineer_gate_runner_test.nx -- prove the Engineer's full-pipeline gate
classifies honestly where the exit-code-only runner was blind. Corpus of three
gates with KNOWN distinct outcomes: a good test (PASS), the reserved-keyword source
(COMPILE-FAIL), and the null-write program (CRASH/SIGSEGV). The old runner would
link the empty .s and/or read exit-0 -- this names each correctly.
Known answer: PASS, COMPILE-FAIL, CRASH(11) -> exit 0.
dependencies 1 imports · 0 importers
imports: nx_engineer_gate_runner.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 10 | func gr_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } called by 1: main |
| 11 | func gr_num(v: i64) -> i64 called by 1: main |
| 20 | func main() -> i64 |