Record crashes per test in crashes.txt