mirror of
https://github.com/kelvinlawson/atomthreads.git
synced 2026-01-11 10:16:37 +01:00
Commit hook to build and run qemu-arm and AVR tests.
This commit is contained in:
21
tests/commit-tests.sh
Executable file
21
tests/commit-tests.sh
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user