www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit aae809550c33e7d401254ff344b62895f3d71105
parent 1d974525bff380e48c57bf8f10046cbad8801ae0
Author: Georges Dupéron <georges.duperon@gmail.com>
Date:   Sun, 15 Jul 2018 16:45:04 +0200

macos: setup /tmp/.X11-unix and take screenshots in Xvfb

Diffstat:
MMakefile | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -392,6 +392,14 @@ build/test_pass/sudo_iso_mount: ${os_filename} build/check_makefile | build/mnt_ .PHONY: test/macos test/macos: build/check_makefile | deploy-screenshots - xvfb-run sh -c "dterm -e 'echo hello; sleep 30' & sleep 5; import -window root deploy-screenshots/macos.png" + sudo mkdir /tmp/.X11-unix + sudo chmod 1777 /tmp/.X11-unix + xvfb :42 & \ + sleep 10; \ + DISPLAY=:42 xterm -e 'sh -c "echo hello; sleep 30"' & \ + sleep 5; \ + DISPLAY=:42 import -window root deploy-screenshots/macos.png + ls -l deploy-screenshots/ + identify deploy-screenshots/* || true # See https://wiki.osdev.org/EFI#Emulation to emulate an UEFI system with qemu, to test the EFI boot from hdd / cd / fd (?).