A metronome using the FRDM K64F board

Revision:
0:a7a43371b306
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-client/run_unit_tests_with_valgrind.sh	Sun May 14 18:40:18 2017 +0000
@@ -0,0 +1,13 @@
+#!/bin/bash
+# Execute script with root path where to find binaries. 
+# For example ./run_unit_tests_with_valgrind.sh ./build/x86-linux-native-coverage/test/mbedclient/
+
+input="binaries.txt"
+valgrind_logs="valgrind_logs"
+rm -rf $valgrind_logs
+mkdir $valgrind_logs
+find $1 -type f -executable -exec sh -c "file -i '{}' | grep -q 'x-executable; charset=binary'" \; -print > $input
+while file= read -r binary
+do
+    valgrind --track-origins=yes --xml=yes --xml-file="${valgrind_logs}/valgrind_$(basename $binary).xml" "$binary"
+done < "$input"