Fix build in opt mode

This commit is contained in:
Justine Tunney 2021-06-11 16:47:48 -07:00
parent a3ccc5af1f
commit 8b08e81a07
4 changed files with 10 additions and 0 deletions

View file

@ -4,6 +4,10 @@ if [ "$MODE" = dbg ]; then
exit # TODO
fi
if [ "$MODE" = opt ]; then
exit
fi
# smoke test userspace binary emulation
CMD="o/$MODE/tool/build/blinkenlights.com.dbg o/$MODE/examples/hello.com"
if OUTPUT="$($CMD)"; then

View file

@ -4,6 +4,10 @@ if [ "$MODE" = dbg ]; then
exit # TODO
fi
if [ "$MODE" = opt ]; then
exit
fi
# smoke test booting on bare metal and printing data to serial uart
CMD="o/$MODE/tool/build/blinkenlights.com.dbg -r o/$MODE/examples/hello.com"
if OUTPUT="$($CMD)"; then