- Binaries are removed so they are not annoying in the list
of untracked files if commit is made without compiling
tests after running the script.
# remove temporary files
rm $REPORT_PATH_ABSOLUTE/temp_*.txt
+ # remove all unit test binaries so they doesn't accidentally get into repository
+ for BINARY in "${UNIT_TEST_PROJECTS[@]}"
+ do
+ # remove only if file really exists
+ if [ -a $BINARY ]; then
+ rm $BINARY
+ fi
+ done
+
# tell that script reached the end
echo "" >> $REPORT
echo "All done!" >> $REPORT