--- a/tests/run-tests.py Wed Jun 07 20:32:11 2017 -0700
+++ b/tests/run-tests.py Wed Jun 07 20:46:43 2017 -0700
@@ -1925,7 +1925,7 @@
self._writexunit(result, xuf)
if self._runner.options.json:
- jsonpath = os.path.join(self._runner._testdir, b'report.json')
+ jsonpath = os.path.join(self._runner._outputdir, b'report.json')
with open(jsonpath, 'w') as fp:
self._writejson(result, fp)
@@ -1960,7 +1960,7 @@
self._writexunit(result, xuf)
if self._runner.options.json:
- jsonpath = os.path.join(self._runner._testdir, b'report.json')
+ jsonpath = os.path.join(self._runner._outputdir, b'report.json')
with open(jsonpath, 'w') as fp:
self._writejson(result, fp)