--- a/tests/Makefile Mon Jun 27 10:26:04 2022 +0200
+++ b/tests/Makefile Mon Jul 04 08:35:47 2022 +0200
@@ -162,7 +162,7 @@
echo "******************************************"
echo "On host, run 'xvncviewer 127.0.0.1:5900' to see sikuli X session"
echo "Docker container must be created with TESTDEBUG=YES. For example :"
- echo "./clean_docker_container.sh && ./build_docker_image.sh && TESTDEBUG=YES ./create_docker_container.sh && ./build_in_docker.sh xvfb_sikuli"
+ echo "./clean_docker_container.sh && ./build_docker_image.sh && TESTDEBUG=YES ./create_docker_container.sh && ./do_test_in_docker.sh xvfb_sikuli"
echo "******************************************"
$(xserver_command) bash -c '(fluxbox &);(x11vnc &);(BEREMIZPATH=$(build_dir)/beremiz xterm -e sikulix &);xterm'
--- a/tests/tools/Docker/beremiz-sikuli/build_in_docker.sh Mon Jun 27 10:26:04 2022 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-set -e
-
-CONTAINER=beremiz_sikuli_current
-
-docker start $CONTAINER
-docker exec $CONTAINER bash -c "do_tests $1"
-docker stop $CONTAINER
-
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/tools/Docker/beremiz-sikuli/do_test_in_docker.sh Mon Jul 04 08:35:47 2022 +0200
@@ -0,0 +1,11 @@
+#!/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
+