File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,12 +13,14 @@ all: $(RESULTS)
1313.PHONY : all
1414
1515coap_results.md : coap_client_tests.md $(PROGRAM )
16- bbt --verbose --junit coap_results.xml $< > $@
16+ bbt --verbose --junit coap_results.xml $< > $@
17+ sed -i ' s%/>$$%/ time="1.0">%g' coap_results.xml
1718 grep -F ' Summary : **Success**' $@
1819
1920coaps_results.md : coaps_client_tests.md $(PROGRAM )
2021 coap-server-openssl -k COAP_SPARK_KEY_5684 -u coap_spark -d 100 &
2122 bbt --verbose --junit coaps_results.xml $< > $@
23+ sed -i ' s%/>$$%/ time="1.0">%g' coaps_results.xml
2224 grep -F ' Summary : **Success**' $@
2325 pkill -f coap-server-openssl
2426
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ coap_results.md : coap_server_tests.md $(PROGRAM)
2828 SERVER_PID =$$!; \
2929 trap 'sleep 2; kill $$SERVER_PID >/dev/null 2>&1 || true' EXIT; \
3030 bbt --keep-going --verbose --junit coap_results.xml $< > $@ ; \
31+ sed -i 's%/>$$% / time="1.0">%g' coap_results.xml; \
3132 grep -F 'Summary : **Success**' $@ ; \
3233 coap_client -m fetch coap://localhost/
3334
@@ -37,6 +38,7 @@ coaps_results.md: coaps_server_tests.md $(PROGRAM)
3738 SERVER_PID =$$!; \
3839 trap 'sleep 2; kill $$SERVER_PID >/dev/null 2>&1 || true' EXIT; \
3940 bbt --keep-going --verbose --junit coaps_results.xml $< > $@ ; \
41+ sed -i 's%/>$$% / time="1.0">%g' coaps_results.xml; \
4042 grep -F 'Summary : **Success**' $@ ; \
4143 coap_client -m fetch $(SECURE_ARGS ) coaps://localhost/
4244
You can’t perform that action at this time.
0 commit comments