Skip to content
Snippets Groups Projects
Unverified Commit aba1aa9c authored by Simon Duquennoy's avatar Simon Duquennoy Committed by GitHub
Browse files

Merge branch 'develop' into contrib/tests/mqtt-native

parents c2ceaab1 cc6398dd
No related branches found
No related tags found
No related merge requests found
......@@ -30,8 +30,10 @@ before_install:
docker push $DOCKER_IMG;
fi
fi
# Build Cooja
- ant -q -f $CNG_HOST_PATH/tools/cooja/build.xml jar
# Build Cooja conditionally
- if [ ${BUILD_COOJA:-false} = true ] ; then
ant -q -f $CNG_HOST_PATH/tools/cooja/build.xml jar ;
fi
# Set permissions for Docker mount
- sudo chgrp -hR 1000 $CNG_HOST_PATH
......@@ -55,14 +57,14 @@ env:
- TEST_NAME='compile-base'
- TEST_NAME='compile-arm-ports-01'
- TEST_NAME='compile-arm-ports-02'
- TEST_NAME='rpl-lite'
- TEST_NAME='rpl-classic'
- TEST_NAME='tun-rpl-br'
- TEST_NAME='rpl-lite' BUILD_COOJA=true
- TEST_NAME='rpl-classic' BUILD_COOJA=true
- TEST_NAME='tun-rpl-br' BUILD_COOJA=true
- TEST_NAME='coap-lwm2m'
- TEST_NAME='simulation-base'
- TEST_NAME='ieee802154'
- TEST_NAME='simulation-base' BUILD_COOJA=true
- TEST_NAME='ieee802154' BUILD_COOJA=true
- TEST_NAME='compile-nxp-ports'
- TEST_NAME='documentation'
- TEST_NAME='compile-tools'
- TEST_NAME='native-runs'
- TEST_NAME='ipv6'
- TEST_NAME='ipv6' BUILD_COOJA=true
......@@ -5,18 +5,14 @@ CONTIKI=../..
all: clean summary
summary: cooja $(TESTLOGS)
summary: $(TESTLOGS)
@cat *.testlog > summary
@echo "========== Summary =========="
@cat summary
%.testlog: %.sh cooja
%.testlog: %.sh
@echo "========== Running script test $(basename $@).sh =========="
@bash "$(basename $@).sh" "$(CONTIKI)"
clean:
@rm -f *.*log report summary
cooja: $(CONTIKI)/tools/cooja/dist/cooja.jar
$(CONTIKI)/tools/cooja/dist/cooja.jar:
(cd $(CONTIKI)/tools/cooja; ant jar)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment