<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=http://email.email.llvm.org/c/eJylVMFymzAQ_Rq47ITBYBxz4JA2zUxOveQHhFhAtZCIJOLw992VHdtNM9NDZxgbjVZv3773RGu7tXkIMDv0aEJSfIdklydFFegPeutAQEAfQBne4Ne7TrmkeIqvRkzIhWg6D8sM-D4L0ykzQLDg7YRh5IVWB_x0_OcS5iV8wsngZVQeJhTGQxhFiL09-FE4xhF_gFBfoTX35tYfNWFE8ATHpecmVEj1KIN1K094HJUcYRIH9KCoh1PysDLj4Khxjy6C2Hj4epILBDicbEA6LGkyBJoWWiEPvOkWcy1gllmSPyb5w-n3OcDRLprKEQZrO1A9t3EIR-EJB-wclDVXfiy-tNMsgmqVVmElaOGtYTkikLGBwZhrh71YdLSPiJxcuDVSGR9QdLz5Txs-WZv8KJJ9ntRbUBlmjDCoNwQkAc7JIIPs0YDHWTgRvhKOnZSCZrunf2t6rSSpocJIc69gWYZLym79u7H6HI2ThGwdO0d6_O0bNQgUZSLVn7S58EiKPWZDBovnoBCo86uRUaY60iHm1MG5NYat5eWVnAdJBgTe6pXGc0AnNYzXof5wnNq9RINV9BfflY-nlfcLxptWlEW9K3fRNgbziJOPOdPeUi5MoEAtRr0ut2PMZ0IZPANzZgLPpG0HTijPgeCG9IDB46kb5USKhfaeobMnH_hmHkhEWnh4XVTAG-kvnrckwSTWNsqtPDMlj04BlYIAj8jOgtSWFpZuxEn1KSNN064pu7qsRSoWIuoaobdVEMqli9PNGMLsk5JkeqJnIPmXNqPA00Lrt4-_u9nZXzQ4LeMkROGpKqttkY5NVdeyRpnnZS2r_B43dV6W_a7v-lp2WIhUixa1b5LqW1IUFzHoPake0_9noJoiL-jJi02Zb7a7bLPHTStxX8p9Xe_LItnmOAmlM8bJrBtS10TIdhk8bWpKhL9uCu_VYBAjYWIYVNDYPHTd9fPA4dD8zbKXSzCgwXjvvogKf0MuNzWN9JvI_TeP8gWv>53542</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Add an option to lit to make it generate a unique directory for each test
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          al45tair
      </td>
    </tr>
</table>

<pre>
    At present, `%t` for a test in `test-dir/test-name` ends up expanding to something like `test-dir/Output/test-name`. This means that tests sharing a `test-dir` all end up sharing the same `Output` directory, which makes it tricky to transfer the output directory to a remote machine and back to run a remote test.

It would be good if there was an option, which for compatibility reasons should not be the default, to expand `%t` instead to `test-dir/Output/test-name/test-name` — i.e. to give each test its own separate output directory that can't conflict with any other test in the same `test-dir`. This would make it easy to transfer the contents of the directory (e.g. using `rsync`) without worrying about other tests creating files that might conflict.

(There is an existing issue, #29636, that seems to also want a unique directory per test. I thought I'd raise this as a new issue because I don't think it's quite the same — but maybe it is, in which case we can close one of them.)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyFU8FuozAQ_Rq4jIqISdJw4NDdbqWe9tIfMGYC3hib2qZp_n5nTJqk3UorIcDy-M2b955b152ahwiTx4A2ZuInZNsyE5tIH9g7DxIihgja8gb_3nXaZ-Ip_Vo5Ihei7QLME-D7JG2nbQ_RQXAjxoEXRh_wy_Hfc5zm-AWngJdBBxhR2gBxkDH1DhAG6RlHfgKhvtIY7s2tP2rigBAIjkvPTaiQ6lFF50884XHQaoBRHjCAph5eq8OJGUdPjffoE4hLh68nuUCCx9FFpMOKJkOgaaGV6sCbfrbXAmZZZOVjVj4s7-cIRzcbKkfonetA77mNRzjKQDjgpqidvfJj8ZUbJxl1q42OJ4KWwVmWIwFZFxmMuXa4l7NJ9hGRxYVbI7UNEWXHm_-14Yu12S-R7cqsXoMusGCEXr8hIAlwTgYZ5I4WAk7Sy_idcOykkjTbPX2d3RutSA0dB5r7BI5luKTs1r8bq8_RWCRk69g50uNf36hBpCgTqf2izYVHJnZY9AXMgYNCoD6crEoy1YkOMacO3p9S2FpeXskFUGRA5K29NngO6Kj74TrUJ8ep3UsyWCd_8V2HdFqHMGO6aaIS9bbaJtsYLCCOIeXMBEe5sJECNVv9Ot-OMZ0JFfAMzJkJPJO2HXipAweCG9IDFo9LN8qJkjPtPUPnFh_4Zh5IRFoEeJ11xBvpL563JMEoT22SWwdmSh4tAVWSAI_IzoIyjhaObsSi-liQpnnXVF1d1TKPOhpsHrruGnQe0_Dtcxc7e7SYEvTN0HwbLpnLZ2-aIcYpZBXJ_ERPT_bNbUEXhhbGvH187ibv_hAGLZMSNMLTptqsRT40ZSvUflXXKLb39bbD3WbXriqxFdVKrvBe5Ua2aEKTbX5kQlzEpP9s85jrRpSCnlKsqnK13harHa5ahbtK7ep6V4lsXeIotSmYR-F8n_smUWrnPtCmoTyE66YMQfcWMbUjfDmTub6RZr2JUvs89W4S979W1O-V">