tests that read build/mingw-release skip without it: BuiltFilesTest, the identity-literal tests, the distribution signing test (the TOOLS seed depends on them)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- cmake, python
- Domain
- build-system, testing
Research direction
Start with the three named files: tools/tests/test_pe_version_info.py, tools/tests/test_build_identity_literal.py, and tools/tests/test_build_distribution.py; trace what each reads under build/mingw-release and how its skip is triggered. Check .claude/skills/merge-fold/fold.sh and issue #2892 for the sequencing and TOOLS setup. Done when the relevant assertions run without a built tree and the TOOLS fold can use --gen-extern without treating skipped checks as passing.
Written by the indexing model from the issue text.
Description
Evidence at 0502d28fef72a2d0460424e97929306ecf88b639
What the tree says, at the release tip:
tools/tests/test_pe_version_info.py:518-526:BuiltFilesTestreads the filesjust buildmade (build/mingw-release/bin) and
skips when they are absent (line 526).tools/tests/test_build_identity_literal.py:64,:71,:93and:108: the identity-literal tests skip when the built tree is
stale, missing, or of another commit (build/mingw-release).tools/tests/test_build_distribution.py:235-238: a test skips unlessosslsigncodeand three files of
build/mingw-release/binare present..claude/skills/merge-fold/fold.sh(the setup by class) keeps the full seed for TOOLS, because a TOOLS plan selects these tests
and they skip without a built tree; a skip there would fold a red as green.
Not shown
- Whether each of these assertions can run on fixtures (a built DLL's identity literal is read from the file; a fixture would
need the same bytes). - Whether any test other than these three reads
build/by path (a scan of the pytest files was not made here).
Falsifier
After the change, one of the three test files, run with no build/mingw-release in the tree, reports a skip of an assertion
that the change claims to make; or a TOOLS fold with the setup of --gen-extern passes while one of the three would fail on a
DLL whose identity literal is changed.
Work
Test first, each item:
- For each of the three files, a test that fails today: run with no built tree, the assertion runs (not a skip). The fixture
or the built file the test reads is the input. - Change each test to read its input from a fixture that the test writes (the identity literal of a DLL, the distribution
signature check), or to build what it needs whenjust buildhas made it; no skip for an absent built tree. - When the three run without a built tree, the TOOLS setup in
fold.shgoes to--gen-extern, as DOCS has it.
Sequenced after #2892. Suggested owner: nevr-runtime-one or nevr-runtime-two (not assigned in this issue).
- Dominant language
- C++
- Stars
- 3
- Forks
- 5
- Avg merge
- 4h 37m
- Merged PRs (30d)
- 524
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EchoTools/nevr-runtime
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
EchoTools/nevr-runtime#2912 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
EchoTools/nevr-runtime#2910 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
EchoTools/nevr-runtime#2909 ·
Maintainers usually reply within 1 day
-
build: the generated defaults header is written 0600, so a seat outside nevr-build cannot read itOpenbacklog
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
EchoTools/nevr-runtime#2901 · 1 comment ·
Maintainers usually reply within 1 day
-
backlog
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EchoTools/nevr-runtime#2897 ·
Maintainers usually reply within 1 day
All issues in EchoTools/nevr-runtime
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
category:port-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
bug-unconfirmed
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
libc++
Difficulty 1/5 Under an hour Newbie friendliness 88/100
llvm/llvm-project#246508 ·
Maintainers usually reply within 1 day
-
good first issue help wanted phase:0 priority:P3 type:task
Difficulty 2/5 1-3 hours Newbie friendliness 67/100