commit c4fb6e3cfb9e7189ff573170c6dc6b1de944361c parent eb90ca298bfe6cb80186044919a5d3c0f2f56880 Author: Georges Dupéron <georges.duperon@gmail.com> Date: Tue, 26 Jun 2018 02:35:07 +0200 Added bochs Diffstat:
| M | .travis.yml | | | 2 | +- |
| M | test/bochs.sh | | | 17 | +++++++++++++++-- |
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml @@ -7,7 +7,7 @@ addons: - qemu-system-x86 - qemu-system-arm - virtualbox - - bochs + - bochs-x - sikuli-ide # Missing dependencies for sikuli-ide #- libantlr3-runtime-java # on 16.04 diff --git a/test/bochs.sh b/test/bochs.sh @@ -1,4 +1,18 @@ #!/bin/sh set -e -bochs --help -\ No newline at end of file +os_file="example-os/os.sh" + +bochsrc="$(tempfile)" +cat > "$bochsrc" <<EOF +floppya: 1_44=${os_file}, status=inserted +boot: floppy +EOF + +bochscontinue="$(tempfile)" +echo "continue" > "$bochscontinue" + +bochs -qf "$bochsrc" < "$bochscontinue" & +pid=$! +runsikulix -r test/check-gradient.sikuli +kill $pid