Files
Seth Hillbrand 4a00f058a6 qa_cli: update ERC test fixtures for severity reporting
Commit a5f5298cad added severity headers to ERC report output but
didn't update the CLI test reference files. Update the golden .rpt
files to include the new "Report includes:" header line, update the
.json golden file to include the new "included_severities" array, and
bump the JSON test's line_skip_count from 5 to 9 to skip past the
new block and the kicad_version field during comparison.
2026-02-24 08:30:29 -08:00
..
2023-05-02 23:23:13 -04:00
2025-06-14 16:56:47 -04:00

To run these tests manually, you may need to set some or all of
the following environment variables:

# Replace with the path to kicad-cli in your build environment
KICAD_CLI=/path/to/kicad/cmake-build-debug/kicad/KiCad.app/Contents/MacOS/kicad-cli
KICAD_RUN_FROM_BUILD_DIR=1

On macOS you will also need to take the following steps if you want to
test kicad-cli from the build dir:

1) Symlink the contents of the folder:

    /path/to/kicad-mac-builder/build/python-dest/Library/Frameworks/Python.framework/Versions/3.9/

   from your kicad-mac-builder folder into the folder:

   /path/to/kicad/cmake-build-debug/kicad/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.9/

   inside your KiCad build directory.

2) Set the following environment variable so that the Python dll is found:

   DYLD_LIBRARY_PATH=/path/to/kicad-mac-builder/build/python-dest/