diff --git a/.travis.yml b/.travis.yml index b5ec50a..1e48245 100644 --- 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 index ad5945b..a69b194 100644 --- 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 (?).