mirror of
https://github.com/forth-ev/VolksForth.git
synced 2025-02-21 08:28:59 +00:00
Add test target for X16-39
This commit is contained in:
parent
641f6e4566
commit
663b1e16e1
@ -136,6 +136,13 @@ test-v4th-x16.log: cbmfiles/v4th-x16 emulator/sdcard.img
|
|||||||
mcopy -i emulator/sdcard.img ::TEST.LOG cbmfiles/test.log
|
mcopy -i emulator/sdcard.img ::TEST.LOG cbmfiles/test.log
|
||||||
petscii2ascii cbmfiles/test.log $@
|
petscii2ascii cbmfiles/test.log $@
|
||||||
|
|
||||||
|
test-v4th-x16-39.log: cbmfiles/v4th-x16 emulator/sdcard.img
|
||||||
|
rm -f cbmfiles/test.log
|
||||||
|
emulator/run-in-x16-39.sh v4th-x16 \
|
||||||
|
"include run-std-tests.fth\n1234567890\n"
|
||||||
|
mcopy -i emulator/sdcard.img ::TEST.LOG cbmfiles/test.log
|
||||||
|
petscii2ascii cbmfiles/test.log $@
|
||||||
|
|
||||||
test-%.result: test-%.log test-%.golden tests/evaluate-test.sh
|
test-%.result: test-%.log test-%.golden tests/evaluate-test.sh
|
||||||
rm -f $@
|
rm -f $@
|
||||||
tests/evaluate-test.sh $(basename $@)
|
tests/evaluate-test.sh $(basename $@)
|
||||||
|
9
6502/C64/emulator/run-in-x16-39.sh
Executable file
9
6502/C64/emulator/run-in-x16-39.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
emulatordir="$(realpath --relative-to="$PWD" "$(dirname "${BASH_SOURCE[0]}")")"
|
||||||
|
|
||||||
|
export PATH="${HOME}/x16-r39:${PATH}"
|
||||||
|
echo "PATH = ${PATH}"
|
||||||
|
"${emulatordir}/run-in-x16emu.sh" "$@"
|
@ -36,7 +36,7 @@ then
|
|||||||
mcopy -i "${sdcard}" "${emulatordir}/notdone" "::NOTDONE"
|
mcopy -i "${sdcard}" "${emulatordir}/notdone" "::NOTDONE"
|
||||||
warp="-warp"
|
warp="-warp"
|
||||||
else
|
else
|
||||||
scale="-scale 2"
|
# scale="-scale 2"
|
||||||
debug="-debug"
|
debug="-debug"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user