mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-07 06:38:46 +10: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!"
|