#!/usr/bin/env bash # The task gate: every configure preset built, and only then every one tested. # # The loop itself is libavr's (tools/check-presets.sh) because the order in it # is subtle and was got wrong by hand more than once - the mode-identity checks # read the sibling mode's tree, so a build-then-test-per-preset run compares a # fresh image against a stale sibling. Anything this repository needs beyond # the presets is written after the call, where every tree is built and tested. set -euo pipefail cd "$(dirname "${BASH_SOURCE[0]}")/.." "${LIBAVR_ROOT:-libavr}/tools/check-presets.sh" "$@"