aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon John <git@the-jedi.co.uk>2015-05-21 13:31:09 +0100
committerSimon John <git@the-jedi.co.uk>2015-05-21 13:31:09 +0100
commit412e1c442e3d8025c5e18ec5b91cc4a8a0004309 (patch)
tree5146e3c690d068fe597703feb7c7fb26af166af3 /tests
parent977e43f90a65febb0c265c78b2af63173c423548 (diff)
Added some extra checks to Travis-CI
Diffstat (limited to 'tests')
-rwxr-xr-xtests/script/runtests.sh21
1 files changed, 20 insertions, 1 deletions
diff --git a/tests/script/runtests.sh b/tests/script/runtests.sh
index 1c54836..58b8e15 100755
--- a/tests/script/runtests.sh
+++ b/tests/script/runtests.sh
@@ -7,7 +7,7 @@ failures=()
# These examples cannot be tested easily at the moment as they require
# alternate cores. The MakefileExample doesn't actually contain any source code
# to compile.
-NON_TESTABLE_EXAMPLES=(ATtinyBlink MakefileExample TinySoftWareSerial BlinkTeensy BlinkNetworkRPi)
+NON_TESTABLE_EXAMPLES=(ATtinyBlink MakefileExample TinySoftWareSerial BlinkTeensy BlinkNetworkRPi BlinkInAVRC)
for dir in $TESTS_DIR/*/
do
@@ -34,6 +34,25 @@ do
failures+=("$example")
echo "Example $example failed"
fi
+
+ make_output=`make disasm TEST=1`
+ if [[ $? -ne 0 ]]; then
+ failures+=("$example disasm")
+ echo "Example $example disasm failed"
+ fi
+
+ make_output=`make generate_assembly TEST=1`
+ if [[ $? -ne 0 ]]; then
+ failures+=("$example generate_assembly")
+ echo "Example $example generate_assembly failed"
+ fi
+
+ make_output=`make symbol_sizes TEST=1`
+ if [[ $? -ne 0 ]]; then
+ failures+=("$example symbol_sizes")
+ echo "Example $example symbol_sizes failed"
+ fi
+
popd
done