9 Commits

Author SHA1 Message Date
Seth Hillbrand 50a6e3ee89 Fix CLI ERC tests failing due to hardcoded KICAD9 env vars
The CLI test harness hardcoded KICAD9_SYMBOL_DIR and KICAD9_FOOTPRINT_DIR,
which stopped working after the version bump to KiCad 10. The versioned
env var fallback in KIwxExpandEnvVars could no longer resolve
KICAD8_FOOTPRINT_DIR references in fp-lib-table because the predefined
list only contains KICAD10_FOOTPRINT_DIR.

Dynamically detect the major version from kicad-cli at test startup and
set the matching versioned env vars. Also fix a pre-existing TypeError
when QA_DATA_ROOT is set (str vs Path).

Set footprint_link_issues to ignore in the test project to eliminate
environment-dependent ERC output, and update all three golden files
with the new ignored check entry.
2026-02-13 15:15:31 -08:00
Seth Hillbrand 97354374bc Fix some QA issues:
- golden cli reports need 10.0
- geda test on gcc needs string conversion
- new allego v13 board needs corrected header check
2026-02-11 17:55:50 -08:00
Mark Roszko 007ecdf89b Update erc unit tests 2025-11-26 14:36:55 -05:00
Seth Hillbrand 4229b3cc76 Update cli golden files with new output format 2025-09-12 23:25:22 -07:00
Jeff Young ead7de69ca Fix periods in ERC gold files. 2025-09-08 20:44:32 +01:00
Alex Shvartzkop 937d53b77c Update golden ERC QA files after f896417ed4 2025-08-21 12:35:25 +03:00
Jon Evans fe22166d9f Use stable sort ordering in ERC reports
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20333
2025-03-16 10:25:29 -04:00
Jon Evans ca21a35bfc Improvements to kicad-cli test repeatability 2025-02-22 10:35:27 -05:00
Marek Roszko ae0dc97929 Add qa for cli sch erc 2025-01-04 22:32:53 -05:00