tests/tools/Docker/do_test_in_docker.sh
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sun, 01 Jan 2023 22:39:41 +0100
branchwxPython4
changeset 3713 cf7c91183995
parent 3693 4058140a8757
permissions -rwxr-xr-x
Tests: use expedited termination of IDE with SIGTERM instead of normal close

Work around test not finishing when IDE ask for confirmation on exit when
project is modified.
#!/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