debian-forge-composer/tools
Martin Sehnoutka 24b25bd06c test-case-generators: report errors from child processes
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.
2020-04-06 19:48:29 +02:00
..
test-case-generators test-case-generators: report errors from child processes 2020-04-06 19:48:29 +02:00
image-info tools/image-info: deduplicate and sort the services 2020-03-25 16:14:43 +01:00
prepare-source.sh tools: add prepare-source.sh 2020-02-17 16:09:17 +01:00