mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 20:18:05 +11:00
18 lines
289 B
Bash
Executable File
18 lines
289 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
ZASM=../../emul/zasm/zasm
|
|
RUNBIN=../../emul/runbin/runbin
|
|
|
|
for fn in *.asm; do
|
|
echo "Running test ${fn}"
|
|
if ! ${ZASM} < ${fn} | ${RUNBIN}; then
|
|
echo "failed with code ${PIPESTATUS[1]}"
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
echo "All tests passed!"
|