tests/tools/Docker/do_test_in_docker.sh
author Edouard Tisserant <edouard@beremiz.fr>
Mon, 28 Oct 2024 16:06:50 +0100
changeset 4033 208a808d1081
parent 3693 4058140a8757
permissions -rwxr-xr-x
eRPC: Server closes connection on exception to prevent client to block until timeout when it happens.
#!/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