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 8b80853ad7269460a68b20ed9f2a0fd33a8cfef8)
2025-06-14 17:16:25 -04:00
..
2023-05-02 23:23:13 -04:00
2025-06-14 17:16:25 -04:00
2025-06-14 17:16:25 -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/