debian-forge-composer/tools/test-case-generators
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
..
format-request-map.json tests/image/ami: test ami images on AWS 2020-04-06 16:38:28 +02:00
generate-test-case test-case-generators: report errors from child processes 2020-04-06 19:48:29 +02:00
generate-test-cases test-case-generators: report errors from child processes 2020-04-06 19:48:29 +02:00
repos.json test/cases: move to stable mirror 2020-03-29 16:08:36 +02:00