lean4-htt/tests/lake/run_test.sh
Mac Malone 24bef91f9a
test: tests/lake/run_test.sh (#13501)
This PR removes the Makefile-based Lake test runner and replaces it with
`run_test.sh` and `run_clean.sh`. These are still not designed for use
with the `with_*.sh` runners, but this a step closer to that
eventuality.

It also adds a line to `CLAUDE.md` informing Claude how to build and run
a single Lake test.
2026-04-25 04:36:08 +00:00

13 lines
297 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
# Ensure this runs from the lake test directory
cd -- "$(dirname -- "${BASH_SOURCE[0]}")"
# Build `LAKE` from this directory or use the provided one
LAKE=${LAKE:-$(lake query lake)}
# Run the test
TEST_DIR="$1"; shift
cd "$TEST_DIR"
$LAKE env bash test.sh