From 1adb1e31487dc84aaa4e319f0fbfc89a90472396 Mon Sep 17 00:00:00 2001 From: Kelvin Lawson Date: Thu, 14 Jul 2016 12:44:11 +0100 Subject: [PATCH] commit-tests-avr: Remove unnecessary cd. commit-tests-cortex-m: Created. --- tests/commit-tests-avr.sh | 1 - tests/commit-tests-cortex-m.sh | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100755 tests/commit-tests-cortex-m.sh 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