Commit hook to build and run qemu-arm and AVR tests.

This commit is contained in:
Kelvin Lawson
2015-02-22 02:27:13 +00:00
parent b16177187c
commit 5033171ac0

21
tests/commit-tests.sh Executable file
View File

@@ -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