mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
git-update: dump output in case subproject download fails
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/261>
This commit is contained in:
parent
c99e3b312a
commit
f75713f070
1 changed files with 8 additions and 1 deletions
|
@ -207,7 +207,14 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
if options.manifest:
|
if options.manifest:
|
||||||
meson = get_meson()
|
meson = get_meson()
|
||||||
targets_s = subprocess.check_output(meson + ['subprojects', 'download'])
|
try:
|
||||||
|
targets_s = subprocess.check_output(meson + ['subprojects', 'download'], shell=False, universal_newlines=True)
|
||||||
|
except subprocess.CalledProcessError as err:
|
||||||
|
print(f"Subproject download Failed")
|
||||||
|
print(f"Output: {err.output}")
|
||||||
|
print(f"Exit code: {err.returncode}")
|
||||||
|
exit(err.returncode)
|
||||||
|
|
||||||
repos_commits = manifest_get_commits(options.manifest)
|
repos_commits = manifest_get_commits(options.manifest)
|
||||||
FORCE_CHECKOUT = True
|
FORCE_CHECKOUT = True
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue