llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Don't let CalledProcessErrors reach the console in test-suite

Open cmatthew opened this issue 10 years ago • 1 comments

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.

cmatthew avatar Jun 14 '16 23:06 cmatthew

assigned to @cmatthew

cmatthew avatar Jun 14 '16 23:06 cmatthew