MeshTalos/components/mpack/tools/unit.sh
2025-12-03 20:59:51 +08:00

10 lines
268 B
Bash
Executable file

#!/bin/sh
# Builds and runs the unit test suite.
# Set CC before calling this to use a different compiler.
# Pass a configuration to run or pass "all" to run all configurations.
set -e
cd "$(dirname $0)/.."
test/unit/configure.py
ninja -f .build/unit/build.ninja $@