tests/tools/Docker/beremiz-sikuli/do_test_in_docker.sh
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 16 Aug 2022 19:52:49 +0200
branchwxPython4
changeset 3584 8a54fd58a552
parent 3527 fbe924df437b
permissions -rwxr-xr-x
Runtime: wx.app.mainLoop and twisted reactor now share main thread with runtime.Worker.

This fixes exception when invoking python interactive shell from Runtime's tray
icon right-click menu.

Probably a consequence of wxPython upgrade, together with initial bad idea to
move wx.app.mainloop in non-main thread.
#!/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