Repostiory containing DAPLink source code with Reset Pin workaround for HANI_IOT board.

Upstream: https://github.com/ARMmbed/DAPLink

Revision:
0:01f31e923fe2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/test_loop.sh	Tue Apr 07 12:55:42 2020 +0200
@@ -0,0 +1,27 @@
+#!/bin/sh
+# Local tests looper until fail. CeDeROM 20170815
+# Runs all tests on all supported Boards/Targets on provided environment.
+LOGDIR=../test/out/
+TGTDIR=../bin/target
+
+echo "ARE WE INSIDE VALID VIRTUALENV READY FOR TESTING?"
+echo "LOGDIR: $LOGDIR"
+echo "TGTDIR: $TGTDIR"
+echo "Press Ctrl+C to Abort, Return to Start.."
+read
+
+while [ 1 ]; do
+        TIME=`date +%s`
+        SAY_ITERATION="STARTING DAPLINK TEST ITERATION $TIME"
+        echo $SAY_ITERATION
+        if say "" ; then say "$SAY_ITERATION" ; fi
+        python ../test/run_test.py --targetdir $TGTDIR --testdl --loadbl --verbose All --logdir "$LOGDIR"/$TIME
+        RES=$?
+        if [ $RES -ne 0 ]; then
+                SAY_ERROR="DAPLINK TESTING ERROR, TEST $TIME FAILED MISERABLY WITH STATUS $RES, EJECTING!"
+                echo "$SAY_ERROR"
+                if say "" ; then say -v "bad news" "$SAY_ERROR" ; fi
+                if [ -f "$LOGDIR"/summary.txt ]; then cat "$LOGDIR"/summary.txt; fi
+                break
+        fi
+done