diff --git a/tests/commit-tests-avr.sh b/tests/commit-tests-avr.sh index 13ca020..f833f24 100755 --- a/tests/commit-tests-avr.sh +++ b/tests/commit-tests-avr.sh @@ -11,4 +11,3 @@ cd ports/avr make clean make PART=atmega128 make PART=atmega128 simtests -cd ../.. diff --git a/tests/commit-tests-cortex-m.sh b/tests/commit-tests-cortex-m.sh new file mode 100755 index 0000000..f418efd --- /dev/null +++ b/tests/commit-tests-cortex-m.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# Quit on any error +set -e + +# Start at top-level directory +cd `dirname $0`/.. + +# Build qemu-arm-cortex-m and run tests +cd ports/cortex-m +# git submodule? +make clean +make +make BOARD=qemu QEMU=/usr/local/bin/qemu-system-gnuarmeclipse qemutests