mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Fix build in opt mode
This commit is contained in:
parent
a3ccc5af1f
commit
8b08e81a07
4 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue