Orchestrata Ultimate › Tests › Reference › scripts › test_check_native_build_freshness
Tests reference — tests/scripts/test_check_native_build_freshness.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_check_native_build_freshness.py
source · 16 tests · 198 lines
Tests for scripts/check_native_build_freshness.py — the native-build gate.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_newest_source_picks_the_most_recent_c_or_h |
45 | |
| function | test_newest_source_ignores_build_output |
54 | build/ holds compiled COPIES of the sources. Counting them would |
| function | test_newest_source_returns_none_without_c_sources |
65 | |
| function | test_resolve_extension_finds_a_real_vendored_extension |
75 | Resolution must work against the actual installed tree, not a fixture — |
| function | test_resolve_extension_handles_an_editable_install |
85 | codemod_fast is served by a meta-path finder pointing back into |
| function | test_resolve_extension_returns_none_for_an_absent_package |
95 | |
| function | test_resolve_extension_returns_none_for_absent_submodule |
99 | The package resolves but carries no such extension. |
| function | test_resolve_extension_rejects_a_bare_package_name |
104 | A name with no submodule cannot identify an extension file. |
| function | test_resolve_extension_does_not_import_the_package |
113 | janus_swi boots an SWI-Prolog engine on import, so the gate must |
| function | test_discover_native_dirs_finds_only_dirs_with_c_sources |
139 | |
| function | test_discover_native_dirs_raises_without_scripts_dir |
149 | |
| function | test_main_fails_on_an_unregistered_native_dir |
160 | A new vendored extension must not be graded silently. The registry is |
| function | test_main_returns_2_when_the_tree_cannot_be_analysed |
168 | Unanalysable is never a silent pass. |
| function | test_main_passes_on_the_live_repo |
173 | The committed tree must satisfy its own gate. |
| function | test_script_entrypoint_exits_zero_on_the_live_repo |
178 | The gate is invoked as a subprocess by health_check.py; its exit status |
| function | test_gate_is_wired_into_health_check |
193 | RUL-023: a gate nothing invokes is not a delivery. |