mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-06 09:58:07 +11:00
7fad3b0c90
Let go of that "meta os" thing. it's not as meta as I made it sound like. It's a kernel.
20 lines
342 B
Bash
Executable File
20 lines
342 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
SCAS=scas
|
|
KERNEL=../../../kernel
|
|
APPS=../../../apps
|
|
RUNBIN=../../emul/runbin/runbin
|
|
|
|
for fn in *.asm; do
|
|
echo "Running test ${fn}"
|
|
if ! ${SCAS} -I ${KERNEL} -I ${APPS} -o - ${fn} | ${RUNBIN}; then
|
|
echo "failed with code ${PIPESTATUS[1]}"
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
echo "All tests passed!"
|