From 9be9ca15c381d778dc969fa0fbd067a06c46ecc4 Mon Sep 17 00:00:00 2001 From: Rob Wood Date: Fri, 2 Nov 2018 08:46:14 +0000 Subject: [PATCH] Bug 1503380 - When running raptor gecko profiling jobs, raptor should still save results to a raptor.json artifact; r=jmaher Differential Revision: https://phabricator.services.mozilla.com/D10623 --HG-- extra : moz-landing-system : lando --- .../mozharness/mozharness/mozilla/testing/raptor.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/testing/mozharness/mozharness/mozilla/testing/raptor.py b/testing/mozharness/mozharness/mozilla/testing/raptor.py index 2eafb8464178..b711c5360811 100644 --- a/testing/mozharness/mozharness/mozilla/testing/raptor.py +++ b/testing/mozharness/mozharness/mozilla/testing/raptor.py @@ -567,12 +567,12 @@ class Raptor(TestingMixin, MercurialScript, CodeCoverageMixin, AndroidMixin): elif '--no-upload-results' not in options: if not self.gecko_profile: self._validate_treeherder_data(parser) - if not self.run_local: - # copy results to upload dir so they are included as an artifact - self.info("copying raptor results to upload dir:") - dest = os.path.join(env['MOZ_UPLOAD_DIR'], 'perfherder-data.json') - self.info(str(dest)) - self._artifact_perf_data(dest) + if not self.run_local: + # copy results to upload dir so they are included as an artifact + self.info("copying raptor results to upload dir:") + dest = os.path.join(env['MOZ_UPLOAD_DIR'], 'perfherder-data.json') + self.info(str(dest)) + self._artifact_perf_data(dest) class RaptorOutputParser(OutputParser):