136 ide_tests_targets += $(test_dir)/$(1)_idetest/.passed |
136 ide_tests_targets += $(test_dir)/$(1)_idetest/.passed |
137 endef |
137 endef |
138 $(foreach idetest,$(ide_tests),$(eval $(call make_idetest_rule,$(idetest)))) |
138 $(foreach idetest,$(ide_tests),$(eval $(call make_idetest_rule,$(idetest)))) |
139 |
139 |
140 ide_tests : $(ide_tests_targets) |
140 ide_tests : $(ide_tests_targets) |
141 echo "$(ide_tests_targets)" : Passed |
141 echo "$(ide_tests_targets) : Passed" |
142 |
142 |
143 xnest_xterm: own_apps |
143 xnest_xterm: own_apps |
144 $(call xnest_run, bash -c '(fluxbox &);xterm') |
144 $(call xnest_run, bash -c '(fluxbox &);xterm') |
145 |
145 |
146 xnest_sikuli: own_apps |
146 xnest_sikuli: own_apps |
147 $(call xnest_run, bash -c '(fluxbox &);(BEREMIZPATH=$(build_dir)/beremiz xterm -e sikulix &);xterm') |
147 $(call xnest_run, bash -c '(fluxbox &);(BEREMIZPATH=$(build_dir)/beremiz xterm -e sikulix &);xterm') |
148 |
148 |
149 |
149 xvfb_sikuli: own_apps |
150 # in case VNC would be used |
150 echo "******************************************" |
151 #xvfb-run -s '-screen 0 1920x1080x24' bash -c '(fluxbox &);(x11vnc &);xterm;' |
151 echo "On host, run 'xvncviewer 127.0.0.1:5900' to see sikuli X session" |
152 |
152 echo "Docker container must be created with TESTDEBUG=YES. For example :" |
|
153 echo "./clean_docker_container.sh && ./build_docker_image.sh && TESTDEBUG=YES ./create_docker_container.sh && ./build_in_docker.sh xvfb_sikuli" |
|
154 echo "******************************************" |
|
155 $(xserver_command) bash -c '(fluxbox &);(x11vnc &);(BEREMIZPATH=$(build_dir)/beremiz xterm -e sikulix &);xterm' |
153 |
156 |
154 clean: |
157 clean: |
155 rm -rf $(ide_tests_targets) $(build_dir) |
158 rm -rf $(ide_tests_targets) $(build_dir) |
156 |
159 |
157 |
160 |