llvm-project
llvm-project copied to clipboard
Don't let CalledProcessErrors reach the console in test-suite
| Bugzilla Link | 28133 |
| Version | unspecified |
| OS | All |
Extended Description
lnt runtest test-suite uses subprocess.call and friends to invoke the build; when they fail a CalledProcessError exception is dropped on the console. Icky.
That is not a very helpful way to error out. We should try and give some more informative error messages where possible, and direct the user to the logs or show them. We can do this for at least the biggest offenders: cmake and make. The lit invocation already does this, but poorly and it assume it is because of a test failure not some other issue.
assigned to @cmatthew