author | Henrik Skupin <mail@hskupin.info> |
Wed, 24 Apr 2019 19:06:16 +0000 | |
changeset 471195 | ec3fe3df0985e35f654dbf5854a19fce8b79fe44 |
parent 471194 | 6f64c339a2a8f08693ff62512d6f730b2425dc1d |
child 471196 | 97795bbf4e35329511b1371da8f5a7c0c8a7d87a |
push id | 35912 |
push user | btara@mozilla.com |
push date | Thu, 25 Apr 2019 09:46:25 +0000 |
treeherder | mozilla-central@0ec836eceb96 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | rwood |
bugs | 1506928 |
milestone | 68.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/testing/raptor/raptor/output.py +++ b/testing/raptor/raptor/output.py @@ -731,17 +731,17 @@ class Output(object): screenshot['screenshot'], screenshot['test_name'], screenshot['page_cycle'])) self.summarized_screenshots.append("""</table></body> </html>""") def output(self, test_names): """output to file and perfherder data json """ - if os.environ['MOZ_UPLOAD_DIR']: + if os.getenv('MOZ_UPLOAD_DIR'): # i.e. testing/mozharness/build/raptor.json locally; in production it will # be at /tasks/task_*/build/ (where it will be picked up by mozharness later # and made into a tc artifact accessible in treeherder as perfherder-data.json) results_path = os.path.join(os.path.dirname(os.environ['MOZ_UPLOAD_DIR']), 'raptor.json') screenshot_path = os.path.join(os.path.dirname(os.environ['MOZ_UPLOAD_DIR']), 'screenshots.html') else: