Improved logging for running makefile tests