From f600a4e1540b1d2e21d9650752a6a1b3548d70f7 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Mon, 5 Apr 2021 16:42:58 -0700 Subject: [PATCH] yay print debugging --- tools/snap/build_remote.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/snap/build_remote.py b/tools/snap/build_remote.py index 8fc2d8b8a..939dec7bc 100755 --- a/tools/snap/build_remote.py +++ b/tools/snap/build_remote.py @@ -100,10 +100,12 @@ def _build_snap( f'exit code {exit_code}.', flush=True) failed_archs = [arch for arch in archs if status[target][arch] != 'Successfully built'] + print('failed_archs is', failed_archs) # If the command failed or any architecture wasn't built # successfully, let's try to print all the output about the problem # that we can. dump_output = exit_code != 0 or failed_archs + print('dump_output is', dump_output) if exit_code == 0 and not failed_archs: # We expect to have all target snaps available, or something bad happened. snaps_list = glob.glob(join(workspace, '*.snap'))