diff --git a/tests/commit-tests.sh b/tests/commit-tests.sh new file mode 100755 index 0000000..181d31d --- /dev/null +++ b/tests/commit-tests.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Quit on any error +set -e + +# Start at top-level directory +cd .. + +# Build avr and run tests +cd ports/avr +make clean +make PART=atmega128 +make PART=atmega128 simtests +cd ../.. + +# Build qemu-arm and run tests +cd ports/arm/platforms/qemu_integratorcp +make clean +make +make qemutests +