Add yotta test builds to all.sh

This commit is contained in:
Manuel Pégourié-Gonnard 2015-07-28 15:00:37 +02:00 committed by Manuel Pégourié-Gonnard
parent 63e7ebaaa1
commit 77d56bb6c2
3 changed files with 44 additions and 25 deletions

View file

@ -41,7 +41,7 @@ cleanup()
{
make clean
find . -iname '*cmake*' -not -name CMakeLists.txt -exec rm -rf {} \+
find . -name yotta -prune -o -iname '*cmake*' -not -name CMakeLists.txt -exec rm -rf {} \+
rm -f include/Makefile include/mbedtls/Makefile programs/*/Makefile
git update-index --no-skip-worktree Makefile library/Makefile programs/Makefile tests/Makefile
git checkout -- Makefile library/Makefile programs/Makefile tests/Makefile
@ -83,6 +83,10 @@ msg "test/build: declared and exported names" # < 3s
cleanup
tests/scripts/check-names.sh
msg "build: create and build yotta module" # ~ 30s
cleanup
tests/scripts/yotta-build.sh
msg "build: cmake, gcc, ASan" # ~ 1 min 50s
cleanup
CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .