mirror of
https://github.com/AdaCore/spat.git
synced 2026-02-12 13:09:53 -08:00
28 lines
554 B
Bash
28 lines
554 B
Bash
#!/usr/bin/env bash
|
|
|
|
trap 'echo "ERROR at line ${LINENO} (code: $?)" >&2' ERR
|
|
trap 'echo "Interrupted" >&2 ; exit 1' INT
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
|
|
echo "Running tests:"
|
|
|
|
# Download and install dependencies
|
|
#git clone https://github.com/HeisenbugLtd/si_units
|
|
#cd si_units
|
|
#git checkout v0.1.0
|
|
#cd ..
|
|
#gprbuild -p -P si_units/si_units_lib.gpr
|
|
#gprinstall -v -p -P si_units/si_units_lib.gpr
|
|
|
|
# debug, list what's available
|
|
gprinstall --list --stat
|
|
|
|
# Show help output.
|
|
./obj/run_spat -h
|
|
|
|
# Run regression tests against templates
|
|
cd test
|
|
./run_test.sh
|