-
Notifications
You must be signed in to change notification settings - Fork 691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add haddock --keep-temp-files
test
#10392
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine.
@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.
Split off of #10292
Thanks to @mpickering for helping with this test case.
Depends-on: #10388