tests/run-tests.py
changeset 32738 232875623c27
parent 32737 e5680cb1414f
child 32739 74680ed89a29
--- 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)