Added bochs
This commit is contained in:
parent
eb90ca298b
commit
c4fb6e3cfb
|
@ -7,7 +7,7 @@ addons:
|
||||||
- qemu-system-x86
|
- qemu-system-x86
|
||||||
- qemu-system-arm
|
- qemu-system-arm
|
||||||
- virtualbox
|
- virtualbox
|
||||||
- bochs
|
- bochs-x
|
||||||
- sikuli-ide
|
- sikuli-ide
|
||||||
# Missing dependencies for sikuli-ide
|
# Missing dependencies for sikuli-ide
|
||||||
#- libantlr3-runtime-java # on 16.04
|
#- libantlr3-runtime-java # on 16.04
|
||||||
|
|
|
@ -1,4 +1,18 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
bochs --help
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user