19 lines
359 B
Bash
Executable File
19 lines
359 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
if test $# -ne 1 || test "$1" = '-h' -o "$1" = '--help'; then
|
|
echo "Usage: $0 operating_system_file"
|
|
exit 1
|
|
fi
|
|
os_filename="$1"
|
|
|
|
dosbox ${os_filename} &
|
|
pid=$!
|
|
runsikulix -r test/check-dosbox.sikuli && exitcode=$? || exitcode=$?
|
|
|
|
./utils/take-screenshots.sh "./deploy-screenshots/$(basename "$0" .sh).png"
|
|
|
|
kill $pid
|
|
|
|
exit $exitcode
|