Files
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

34 lines
1.5 KiB
Plaintext

ERC report (2026-02-11T17:46:45, Encoding UTF8)
Report includes: Errors, Warnings
***** Sheet /
[power_pin_not_driven]: Input Power pin not driven by any Output Power pins
; error
@(140.97 mm, 71.12 mm): Symbol U1 Pin 5 [V+, Power input, Line]
[power_pin_not_driven]: Input Power pin not driven by any Output Power pins
; error
@(140.97 mm, 86.36 mm): Symbol U1 Pin 2 [V-, Power input, Line]
[lib_symbol_issues]: The current configuration does not include the symbol library 'Connector'
; warning
@(105.41 mm, 63.50 mm): Symbol J1 [Conn_01x01_Pin]
[lib_symbol_issues]: The current configuration does not include the symbol library 'Connector'
; warning
@(105.41 mm, 76.20 mm): Symbol J2 [Conn_01x01_Pin]
[lib_symbol_issues]: The current configuration does not include the symbol library 'Connector'
; warning
@(105.41 mm, 99.06 mm): Symbol J4 [Conn_01x01_Pin]
[lib_symbol_issues]: The current configuration does not include the symbol library 'Amplifier_Operational'
; warning
@(143.51 mm, 78.74 mm): Symbol U1 [TLV2371DBV]
[lib_symbol_issues]: The current configuration does not include the symbol library 'Connector'
; warning
@(177.80 mm, 78.74 mm): Symbol J3 [Conn_01x01_Pin]
** ERC messages: 7 Errors 2 Warnings 5
** Ignored checks:
- Global label only appears once in the schematic
- Four connection points are joined together
- Footprint link issue
- Assigned footprint doesn't match footprint filters