#!/bin/sh


cd tests/hello_world
make clean
make
cd ../..
./target/release/zmu run tests/hello_world/hello_world-cm0.elf
./target/release/zmu run tests/hello_world/hello_world-cm0p.elf
./target/release/zmu run tests/hello_world/hello_world-cm3.elf
./target/release/zmu run tests/hello_world/hello_world-cm4.elf
./target/release/zmu run tests/hello_world/hello_world-cm4f.elf

#!/bin/sh


#
# hello world
#
cd tests/hello_world
make clean
make
cd ../..
./target/release/zmu run tests/hello_world/hello_world-cm0.elf
./target/release/zmu run tests/hello_world/hello_world-cm0p.elf
./target/release/zmu run tests/hello_world/hello_world-cm3.elf
./target/release/zmu run tests/hello_world/hello_world-cm4.elf
./target/release/zmu run tests/hello_world/hello_world-cm4f.elf


#
# rust hello world
cd tests/hello_world_rust
cargo build --example hello
cd ../..
./target/release/zmu run tests/hello_world_rust/target/thumbv7m-none-eabi/debug/examples/hello


#
# pi
#
cd tests/pi
make clean
make
cd ../..
./target/release/zmu run tests/pi/pi-cm0.elf
./target/release/zmu run tests/pi/pi-cm0p.elf
./target/release/zmu run tests/pi/pi-cm3.elf
./target/release/zmu run tests/pi/pi-cm4.elf
#./target/release/zmu run tests/pi/pi-cm4f.elf


Add test for rust hello world
Add test for rust hello world

Run the cortex-m3 version from rust book's hello world example
