RFC: Improving lit's debug output

Context to readers who are unfamiliar (I was in this category before I read some code of lit to try reviewing some patches):

% rg 'REQUIRES:.*shell' -l | wc -l
165

I am in favor of the the formatting change (⚙ D156954 [lit] Improve test output from lit's internal shell), even if it is specific to the internal shell.

I am also in favor of ⚙ D154984 [lit] Drop "Script:", make -v and -a imply -vv , as path/to/llvm-lit -v a.test now tells the failed command. Previously I always use -vv to tell the failed command (Script: output lists all commands; when there are many, it’s unclear which one failed).

1 Like