ghostty/test/run-host.sh
Mitchell Hashimoto 70a8245809 test: run from host
2022-07-21 09:03:49 -07:00

13 lines
287 B
Bash
Executable File

#!/usr/bin/env bash
#
# This runs a single test case from the host (not from Docker itself). The
# arguments are the same as run.sh but this wraps it in docker.
docker run \
--init \
--rm \
-v $(pwd):/src \
--entrypoint "xvfb-run" \
$(docker build -q .) \
/entrypoint.sh $@