test_an_unambiguous_root_kconfig_is_found_and_stored_repo_relative

Tests › tests/test_kconfig.py

passed Passed in the packaged run.

What this test is for

Why it exists

Root first, because an unambiguous root `Kconfig` is the convention every Kconfig build system shares. The path must come back REPO-RELATIVE: `build_meta` is published over MCP, and an absolute path here is the machine-layout disclosure that forced the build-version-9 bump.

Verifies REQ-DDB-PIPE-007 REQ-DDB-PIPE-014 REQ-DDB-QUERY-006

Given

  1. —
→

When

  1. location = discover_kconfig(repo)
→

Then

  1. ✓ location.source equals SOURCE_ROOT
  2. ✓ location.path equals Path(KCONFIG_NAME)
  3. ✓ location.path.is_absolute() is false
  4. ✓ location.searched holds

tests/test_kconfig.py:124 · its file's page

What it checks (4)

  1. assert location.source == SOURCE_ROOT observes discover_kconfig via location
  2. assert location.path == Path(KCONFIG_NAME) observes discover_kconfig via location
  3. assert not location.path.is_absolute() observes discover_kconfig via location
  4. assert location.searched, "a discovery that names no locations cannot be audited" observes discover_kconfig via location

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

test_an_unambiguous_root_kconfig_is_found_and_stored_repo_relative→discover_kconfig

What it reaches

Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.

test_an_unambiguous_root_kconfig_is_found_and_stored_repo_relative · 4 checksdiscover_kconfigREQ-DDB-CONFIG-005 · measureddiscover_kconfig_declared_kconfigwithin_repoREQ-DDB-PIPE-014 · catalog

Requirements it verifies (3)

requirementlinked byimplementers exercised
REQ-DDB-PIPE-007catalogunknown
REQ-DDB-PIPE-014catalog1 of 5: within_repo
REQ-DDB-QUERY-006catalogunknown
Also reaches 1 requirement

Its run touches their code; that is reach, not proof.