projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add error handling.
[bertos.git]
/
test
/
nightly_test.sh
diff --git
a/test/nightly_test.sh
b/test/nightly_test.sh
index 100b833ac42df362f62d95dd306cd3f9dc6da0bf..fcdb23efb0bdfa5bbd57c8d63346b810920f5439 100755
(executable)
--- a/
test/nightly_test.sh
+++ b/
test/nightly_test.sh
@@
-34,6
+34,13
@@
MAKEFILE_TEST_DIR="."
TEST_DIR="test"
MAKEFILE_TEST_DIR="."
TEST_DIR="test"
+#Copy BeRTOS sources
+cp -a bertos/ bertos.saved/
+
+#Strip away TODOs and FIXME
+find bertos/ -name "*.[ch]"|xargs perl -p -i -e "s/^\s*#warning\s*(TODO|FIXME).*//g;"
+
+
#Cpu target that we want to test
TRG="avr arm"
#Cpu target that we want to test
TRG="avr arm"
@@
-45,3
+52,7
@@
done
#Clean and launch make on all
make -f ${MAKEFILE_TEST_DIR}/Makefile.test clean
make -f ${MAKEFILE_TEST_DIR}/Makefile.test
#Clean and launch make on all
make -f ${MAKEFILE_TEST_DIR}/Makefile.test clean
make -f ${MAKEFILE_TEST_DIR}/Makefile.test
+
+#Restore original sources
+rm -rf bertos/
+mv bertos.saved/ bertos/