tests/tools/Docker/do_test_in_docker.sh
author Edouard Tisserant <edouard.tisserant@gmail.com>
Thu, 02 Feb 2023 17:48:51 +0100
branchwxPython4
changeset 3721 6365e33fb11f
parent 3693 4058140a8757
permissions -rwxr-xr-x
Tests: allow overriding local host's hostname with BEREIS_LOCAL_HOST env variable.
#!/bin/bash

set -e

CONTAINER=beremiz_sikuli_current

docker stop $CONTAINER
docker start $CONTAINER 
docker exec $CONTAINER bash -c "do_tests $1"
docker stop $CONTAINER