OrcaSlicer/scripts/run_unit_tests.sh
Ian Bassi 4b1ddcdc55
Url update: SoftFever/OrcaSlicer -> OrcaSlicer/OrcaSlicer (#11371)
* SoftFever/OrcaSlicer -> OrcaSlicer/OrcaSlicer

* Revert for deps
2025-11-17 11:17:54 +08:00

13 lines
504 B
Bash
Executable file

#!/bin/bash
# This file is made to support the unit tests workflow.
# It should only require the directories build/tests and scripts/ to function,
# and cmake (with ctest) installed.
# (otherwise, update the workflow too, but try to avoid to keep things self-contained)
ROOT_DIR="$(dirname "$0")/.."
cd "${ROOT_DIR}" || exit 1
# TODO: github.com/OrcaSlicer/OrcaSlicer/issues/10309 - Run all tests
ctest --test-dir build/tests/slic3rutils --output-junit "$(pwd)/ctest_results.xml" --output-on-failure