summaryrefslogtreecommitdiff
path: root/scripts/test.sh
blob: 24a83d7ae68736dc540cd805525371069a7ddaf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
# test.sh — MAX25-Stack-Lite offline tests via CMake targets.
set -euo pipefail

ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$ROOT"

if [[ ! -d build ]]; then
  bash "${ROOT}/scripts/build.sh"
fi

cmake --build build --target max25_test
git clone -b <branch> https://cgit.mode42.com/<repo>.git
git clone -b <branch> git://cgit.mode42.com/<repo>.git

info@mode42.com