Separate scripts for AVR and QEMU-ARM commit hooks.

This commit is contained in:
Kelvin Lawson
2016-07-13 10:43:13 +01:00
parent eaf8ea3740
commit 8d7d07c202
3 changed files with 16 additions and 8 deletions

14
tests/commit-tests-avr.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
# Quit on any error
set -e
# Start at top-level directory
cd `dirname $0`/..
# Build avr and run tests
cd ports/avr
make clean
make PART=atmega128
make PART=atmega128 simtests
cd ../..