mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-02 19:31:56 +00:00
The macOS unit-test job failed 1775 of 4927 cases: every test host that links libslic3r_gui aborted at load with dyld: Library not loaded: @rpath/Sparkle.framework/Versions/B/Sparkle libslic3r_gui links the framework by @rpath and adds @executable_path/../Frameworks for the executable, which resolves inside the packed app bundle but not in the .app the tests are built into. The CI unit-test runner receives only build/tests, not the deps install, so the framework has to travel with the binary. Copy it into the test bundle's Contents/Frameworks at build time for targets that link libslic3r_gui. ditto keeps the framework's version symlinks and signature intact.
OrcaSlicer tests
Building, running and writing tests is documented on the wiki, under How to Test.
Two files here rather than there, because coding agents only read what is in the repository: