tests.test_nuitka moduleΒΆ

Tests for repomatic.tooling.nuitka: what repomatic run nuitka adds.

tests.test_nuitka.on_target(monkeypatch)[source]ΒΆ

Pretend this machine compiles for the given build target.

tests.test_nuitka.test_registry_wires_the_hooks()[source]ΒΆ

The nuitka entry runs both hooks of this module.

tests.test_nuitka.test_nuitka_params(on_target, target, expected)[source]ΒΆ
tests.test_nuitka.test_nuitka_params_follow_the_nofollow_setting(on_target)[source]ΒΆ
tests.test_nuitka.test_install_extras_runs_one_inexact_sync()[source]ΒΆ

Every extra rides one sync, which removes nothing the venv holds.

tests.test_nuitka.test_install_extras_without_extras_runs_nothing()[source]ΒΆ
tests.test_nuitka.test_prepare_compile_cache_writes_the_ccache_settings(tmp_path)[source]ΒΆ
tests.test_nuitka.test_prepare_compile_cache_leaves_base_dir_unset_outside_a_runner(tmp_path)[source]ΒΆ
tests.test_nuitka.test_prepare_compile_cache_resets_an_oversized_cache(tmp_path, monkeypatch, size, kept)[source]ΒΆ

A cache past the cap starts a fresh lineage, settings rewritten.

tests.test_nuitka.test_prepare_nuitka_build_on_a_runner(tmp_path, monkeypatch, on_target)[source]ΒΆ

A CI compile job gets its cache prepared and its target’s environment.

tests.test_nuitka.test_prepare_nuitka_build_leaves_a_local_cache_alone(monkeypatch, on_target)[source]ΒΆ

Outside CI, no cache was relocated, so none is touched.