25 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 ec44f88815 Update reference pads netlist for qa 2026-02-04 19:15:41 -05:00
jean-pierre charras dbf581cc2e Update golden file (allegro netlist: basic_test.netlist.allegro)
The golden file was incorrect due to the fact the allegro netlist
generator had a bug (missig items in $PACKAGES section.
It is fixed now
2026-01-28 18:46:27 +01:00
Mark Roszko 60fbacde2c Fix pads netlist export with sorting 2025-12-06 00:03:24 -05:00
Mark Roszko 8985ee05fa Add missing allegro/pads qa 2025-12-05 23:20:36 -05:00
Mark Roszko f4a205d8ae Add cli test for drill export 2025-12-03 21:16:05 -05: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 9b72e30a0b QA: Store SVGs, not PNGs
Different platforms/versions can result in very slight differences
when converting SVGs to PNGs for diffing them.

(cherry picked from commit 8b80853ad7)
2025-06-14 17:16:25 -04:00
Jeff Young 24bb72c3cf Update CLI gold files for higher arc definition. 2025-05-13 10:09:26 +01:00
Jeff Young 3cfab79a78 Fix qa_cli gold files for junction dot size issue. 2025-05-02 10:55:04 +01: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
JamesJCode 3a7aa7b660 Ensure deterministic ordering in cadstar netlist exporter
Also re-enable checking of exporter in qa_cli
2024-12-20 11:50:23 +00:00
JamesJCode c9d74d24f0 Ensure deterministic ordering in orcadpcb2 netlist exporter
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18822
2024-12-19 23:01:32 +00:00
Jeff Young c59ed0bbb7 Flip symbol editor's Y axis to match other editors. 2024-04-27 13:47:56 +01:00
Roberto Fernandez Bautista d5fc2b757d qa_cli: increase to 1200dpi + use 1 pixel erosion in comparisons to golden sample 2023-07-27 00:21:48 +02:00
Seth Hillbrand cef4b72b89 Remove image-diff from QA
Re-enable tests for Ubuntu.

This implements a custom image diff function that checks for image
changes in plotted output.
2023-06-12 16:11:10 -07:00
Seth Hillbrand 6a0f64b5a4 Update golden QA images with fixed stroke font output
QA images were generated with v7 output location.  This needs to update
to use the v6 locations
2023-05-12 12:40:41 -07:00
Mark Roszko 112aa66be5 Changes to get cli testing in CI and other test fixes 2023-05-05 20:16:19 -04:00
Marek Roszko 2a222706df Start adding cli qa 2023-05-02 23:23:13 -04:00