commit 0e9ac314bb112b95265b5823adad6b3e0f561ca3
parent b467608409a4d13280330af54d6d4432c6cc31eb
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Sat, 21 Jul 2018 22:12:27 +0200
macos: start the terminal, then make the window active, not the other way round
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -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