test_only_an_expanded_variable_resolves

Tests › tests/test_cmake_resolve.py

passed Passed in the packaged run.

What this test is for

Why it exists

FOUND MEASURING mbedtls: 67 of 94 "resolved" values were command words (`sed`, `-i.bak`, `ctest`) passed through because they held no variable. Only an expanded variable resolves; a plain literal already says all it can.

Given

  1. —
→

When

  1. for word in ("sed", "-i.bak", "ctest", "scripts/gen.pl"): assert resolve_argument(word, "library", {}, True) == "", word
→

Then

  1. —

tests/test_cmake_resolve.py:90 · its file's page

What it checks (1)

  1. assert resolve_argument(word, "library", {}, True) == "", word observes resolve_argument

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_only_an_expanded_variable_resolves→resolve_argument

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_only_an_expanded_variable_resolves · 1 checksresolve_argumentREQ-DDB-PIPE-012 · measured
Also reaches 1 requirement

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