This allows for easier debugging of the test environment when something
fails.
Details
Details
- Reviewers
 ldionne - Group Reviewers
 Restricted Project - Commits
 - rG1ec4e139efb4: [libcxx] [test] Print the failing commands in Configuration{Compilation…
 
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Event Timeline
Comment Actions
That's a nice improvement, thanks! I remember making a similar change locally to debug something, that should have been a hint that this was useful :-)
| libcxx/utils/libcxx/test/dsl.py | ||
|---|---|---|
| 233 | We can do better here. Let's do something like: raise ConfigurationRuntimeError("Failed to run command: {}\nstderr is:\n{}", ...) | |
| 288 | ||
| libcxx/utils/libcxx/test/dsl.py | ||
|---|---|---|
| 233 | Oh, you're absolutely right - I'm sorry about that! I'll make sure to follow up on this soon.  | |
We can do better here. Let's do something like:
raise ConfigurationRuntimeError("Failed to run command: {}\nstderr is:\n{}", ...)