Permalink
Browse files

Add make opt flag.

  • Loading branch information...
1 parent 1dcb17f commit 12842fcfe9f8d831d40083648cd3de5efef34f90 @asterix24 asterix24 committed Mar 6, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/nightly_test.sh
@@ -36,6 +36,7 @@ TEST_DIR="test"
BERTOS_DIR="bertos/"
BERTOS_DIR_BAK="bertos.saved"
OPTS=1
+MAKE_OPT=-j1
if [ $# = 1 ] ; then
if [ $1 = "-h" ] ; then
printf "Nightly test help.\n"
@@ -71,7 +72,7 @@ done
#Clean and launch make on all
make -f ${MAKEFILE_TEST_DIR}/Makefile.test clean
-make -f ${MAKEFILE_TEST_DIR}/Makefile.test
+make $MAK_OPT -f ${MAKEFILE_TEST_DIR}/Makefile.test
RET=$?
if [ $OPTS = 1 ] ; then
#Restore original sources

0 comments on commit 12842fc

Please sign in to comment.