test_suite: attach logfile in case of error