d9fe63b188
While the code already includes some provisions to allow running outside of a git checkout, attempting that right now causes a failure to generate the XML report, as the JSON report creates a null `zephyr_version` field. The reason for that is that the original code doesn't set `self.version` when the subprocess returns a non-zero status (and also doesn't log.) Instead of having to set `self.version` for all failure cases, initialize it to the failure state, and log if it hasn't changed from that. Signed-off-by: Diego Elio Pettenò <flameeyes@meta.com> |
||
---|---|---|
.. | ||
build_helpers | ||
pytest-twister-harness | ||
twister |