macos: start the terminal, then make the window active, not the other way round

This commit is contained in:
Georges Dupéron 2018-07-21 22:12:27 +02:00
parent b467608409
commit 0e9ac314bb

View File

@ -413,8 +413,9 @@ test/macos-sh-x11:
test/macos-sh: build/check_makefile \
build/checkerboard_1024x768.png \
| deploy-screenshots
osascript -e 'tell app "Terminal" to activate'
osascript -e 'tell app "Terminal" to do script "'"$$PWD"'/os.bat"'
sleep 2
osascript -e 'tell app "Terminal" to activate'
sleep 5
(date +%n && sleep 0.2 && date +%n) || true
screencapture deploy-screenshots/screencapture-os-bat.png