mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 01:08:06 +11:00
28d5ebdc8a
To straighten out includes and to pave the way into zasm being part of the same "include CFS" as parts, we make zasm includes namespaced.
20 lines
343 B
Bash
Executable File
20 lines
343 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
SCAS=scas
|
|
PARTS=../../../parts/z80
|
|
APPS=../../../apps
|
|
RUNBIN=../../emul/runbin/runbin
|
|
|
|
for fn in *.asm; do
|
|
echo "Running test ${fn}"
|
|
if ! ${SCAS} -I ${PARTS} -I ${APPS} -o - ${fn} | ${RUNBIN}; then
|
|
echo "failed with code ${PIPESTATUS[1]}"
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
echo "All tests passed!"
|