summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/postactions.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/utils/postactions.py')
-rw-r--r--meta/lib/oeqa/utils/postactions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/postactions.py b/meta/lib/oeqa/utils/postactions.py
index d5080523aa..8f787838b9 100644
--- a/meta/lib/oeqa/utils/postactions.py
+++ b/meta/lib/oeqa/utils/postactions.py
@@ -68,6 +68,7 @@ def list_and_fetch_failed_tests_artifacts(d, tc, artifacts_list, outputdir):
68 (status, output) = tc.target.run(cmd, raw = True) 68 (status, output) = tc.target.run(cmd, raw = True)
69 if status != 0 or not output: 69 if status != 0 or not output:
70 raise Exception("Error while fetching compressed artifacts") 70 raise Exception("Error while fetching compressed artifacts")
71 archive_name = os.path.join(outputdir, "tests_artifacts.tar.gz")
71 with open(archive_name, "wb") as f: 72 with open(archive_name, "wb") as f:
72 f.write(output) 73 f.write(output)
73 except Exception as e: 74 except Exception as e: