Commit Graph

32 Commits

Author SHA1 Message Date
Georges Dupéron
b467608409 macos does not have readlink command, but has realpath 2018-07-25 09:50:10 +02:00
Georges Dupéron
75fbb89c07 macos: starting a terminal with a given script seems to return immediately. Will have to find another way to kill the terminal. 2018-07-25 09:50:10 +02:00
Georges Dupéron
529d6a67f0 Updated sikuli test for macos 2018-07-25 09:50:10 +02:00
Georges Dupéron
d53e7ae908 macos: sikuli, change wallpaper (must be set using an absolute path) 2018-07-25 09:50:10 +02:00
Georges Dupéron
532140f5fc Use only mktemp -d, as it is near-impossible to get mktemp to create a file with a suffix (extension) on macos 2018-07-25 09:50:10 +02:00
Georges Dupéron
cea641936a mktemp: behaviour is too different between mac and linux, factored out workarounds to a separate .sh 2018-07-25 09:50:10 +02:00
Georges Dupéron
f16410b718 macos: mktemp does not accept --suffix option, use a template instead 2018-07-25 09:50:10 +02:00
Georges Dupéron
53798d6ee1 Moved makefile one level up (part 2: modify), rearchitectured the offset calculation to use temporary files, so that dependencies are easier to express. 2018-07-11 18:01:13 +02:00
Georges Dupéron
a1a80feeea Remove artificial slowdown of ansi screenshots, use an ASCII character instead of an UTF-8 one to avoid corruption by travis. Cleanup. 2018-07-08 22:14:12 +02:00
Georges Dupéron
7fcabc9ff2 Chameleon: the OS is now also an ISO9660 CD-ROM image 2018-07-08 17:01:56 +02:00
Georges Dupéron
f1b58e16c2 Make the OS file readonly, to prevent the "Text file busy" error (executed as a linux shell script + open for writing by another process) 2018-07-03 19:57:54 +02:00
Georges Dupéron
23e9889a50 Added two more tests: running under dosbox and as a shell script 2018-07-03 19:22:52 +02:00
Georges Dupéron
fc464c71c0 Refactored the test targets in the Makefile, use this in .travis.yml instead of duplicating the commands 2018-07-03 18:50:58 +02:00
Georges Dupéron
ca7882fd2d Change OS filename: os.sh -> os.bat 2018-07-03 17:49:22 +02:00
Georges Dupéron
4edc0a7177 Delay failure of sikuli, so that a screenshot can still be taken. 2018-07-03 17:19:54 +02:00
Georges Dupéron
9a26a0a9b1 mktemp does not accept --prefix 2018-06-30 18:32:54 +02:00
Georges Dupéron
9ea39f06d5 Deploy screenshots 2018-06-30 18:04:45 +02:00
Georges Dupéron
c8806b151e Remove temporary files upon success (still to do: make sure they are also removed on failure) 2018-06-30 16:56:39 +02:00
Georges Dupéron
925d0d787b Switch from tempfile to mktemp, as tempfile is deprecated 2018-06-30 16:52:00 +02:00
Georges Dupéron
1c13c98ef0 Take better screenshots; reorganized files 2018-06-29 08:54:45 +02:00
Georges Dupéron
3560163759 Added ANSI-art screenshots to the Travis logs 2018-06-28 02:27:21 +02:00
Georges Dupéron
a93c2e4b72 Try to get VirtualBox to run on Travis 2018-06-27 01:22:34 +02:00
Georges Dupéron
b75792f45a VirtualBox needs --type sdl to work in xvfb 2018-06-27 01:14:32 +02:00
Georges Dupéron
bd83552683 Added VirtualBox 2018-06-27 01:07:17 +02:00
Georges Dupéron
f377f2f7f7 bochs-x is buggy on ubuntu 14.04, use bochs-sdl instead 2018-06-26 02:39:53 +02:00
Georges Dupéron
c4fb6e3cfb Added bochs 2018-06-26 02:35:07 +02:00
Georges Dupéron
eb90ca298b Included a test target in the main Makefile, to run all tests 2018-06-26 02:16:16 +02:00
Georges Dupéron
8e65a81bfc Use runsikuli from $PATH, so that the tests may be run outside of Travis 2018-06-26 02:07:58 +02:00
Georges Dupéron
741a36ea67 Added example os for i386, quick test with Sikuli 2018-06-26 01:46:20 +02:00
Georges Dupéron
5b3c3bbe48 Fix command for VirtualBox 2018-06-25 00:09:09 +02:00
Georges Dupéron
f0a4a5dcc7 Fix command for VirtualBox 2018-06-25 00:05:14 +02:00
Georges Dupéron
fffcd83e70 Added stubs for bochs and virtualbox, to be filled out. 2018-06-25 00:00:53 +02:00