The current implementation does not report any errors because it uses the subprocess.check_output function from Python std library. The function is convenient to use but it hides all the errors from us which makes it very inconvenient when the test generation often fails (like developing support for alternative architecture). This patch introduces a wrapper around the subprocess.run function which dumps the subprocess's stdout to stderr in case of failure and forwards it to the caller in case of success. This way the generation code is still very straight forward, but the errors are reported properly. |
||
|---|---|---|
| .. | ||
| test-case-generators | ||
| image-info | ||
| prepare-source.sh | ||