Added bochs
This commit is contained in:
parent
eb90ca298b
commit
c4fb6e3cfb
|
@ -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
|
||||
|
|
|
@ -1,4 +1,18 @@
|
|||
#!/bin/sh
|
||||
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