tests/run-tests.py
changeset 35097 fc0f3ed071fc
parent 35092 1ac4c0887de4
child 35155 6d5718e39657
--- a/tests/run-tests.py	Mon Nov 20 21:59:00 2017 +0800
+++ b/tests/run-tests.py	Sat Nov 18 16:12:00 2017 +0900
@@ -2373,6 +2373,8 @@
             self._outputdir = canonpath(_bytespath(self.options.outputdir))
         else:
             self._outputdir = self._testdir
+            if testdescs and pathname:
+                self._outputdir = os.path.join(self._outputdir, pathname)
 
         if 'PYTHONHASHSEED' not in os.environ:
             # use a random python hash seed all the time