mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
The tests clearly haven't even been built in a while. I've added a helper script to the project root. Also added a kassert() handler that will allow tests to catch or fail on asserts.
11 lines
167 B
Bash
Executable File
11 lines
167 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o errexit
|
|
|
|
ROOT=$(realpath $(dirname $0))
|
|
BUILD="${ROOT}/build"
|
|
TESTS="${BUILD}/native/tests"
|
|
|
|
ninja -C "${BUILD}" "${TESTS}"
|
|
"${TESTS}" $*
|