commit 1d974525bff380e48c57bf8f10046cbad8801ae0
parent 58cf74d7a30671217baa370f8c3f6a9e1715bb46
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Sun, 15 Jul 2018 13:21:18 +0200
macos: trying gui stuff
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
@@ -98,7 +98,7 @@ matrix:
- dosbox
- os: osx
env: MODE=osx-test # Ensure that the Makefile works. Check that the generated os.bat works in sh mode
- install: make all
+ install: make all test/noemu test/macos
# TODO: install sikulix
# TODO: test in SH mode
diff --git a/Makefile b/Makefile
@@ -390,4 +390,8 @@ build/test_pass/sudo_iso_mount: ${os_filename} build/check_makefile | build/mnt_
sudo umount build/mnt_iso
touch $@
+.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"
+
# See https://wiki.osdev.org/EFI#Emulation to emulate an UEFI system with qemu, to test the EFI boot from hdd / cd / fd (?).