The exit code is also checked. lit test driver ensure that all commands exit with 0 status (we run tests that contain races with 'not' bash command). So that's kind of two levels of protection :) http://reviews.llvm.org/D10693 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/