Add haddock --keep-temp-files test#10392
Conversation
|
This seems to depend on #10388 |
|
Yes, that's why there's a |
3001d28 to
7a181f1
Compare
|
@mpickering This seems to be failing on Windows, would you mind taking a look at it? |
|
It appears on windows the response file is called |
|
@9999years It seems that in the original patch I provided it worked on windows. Could you restore that approach to the test? I I tried to push a commit which restored the test to this form but I don't have permission to push to your branch. |
|
Ah:
|
7a181f1 to
3109e54
Compare
|
@mpickering I've updated the test. I think it's a bit more readable this way, and the error messages for failures will be more informative. Let me know what you think. |
3109e54 to
b0b6abd
Compare
|
@mergify refresh |
✅ Pull request refreshed |
The `HaddockKeepTmpsCustom` test added in haskell#10392 skewed against haskell#10366, which changes where temporary files are written. We can work around this by setting `$TMPDIR` and `$TEMP` while running tests, so that temporary files are written to the test's temporary directory rather than the system one.
The `HaddockKeepTmpsCustom` test added in haskell#10392 skewed against haskell#10366, which changes where temporary files are written. We can work around this by setting `$TMPDIR` and `$TEMP` while running tests, so that temporary files are written to the test's temporary directory rather than the system one.
The `HaddockKeepTmpsCustom` test added in haskell#10392 skewed against haskell#10366, which changes where temporary files are written. We can work around this by setting `$TMPDIR` and `$TEMP` while running tests, so that temporary files are written to the test's temporary directory rather than the system one.
The `HaddockKeepTmpsCustom` test added in haskell#10392 skewed against haskell#10366, which changes where temporary files are written. We can work around this by setting `$TMPDIR` and `$TEMP` while running tests, so that temporary files are written to the test's temporary directory rather than the system one.
Split off of #10292
Thanks to @mpickering for helping with this test case.
Depends-on: #10388