Skip to content

Fix HaddockKeepTmpsCustom test for merge skew - #10424

Merged
mergify[bot] merged 1 commit into
haskell:masterfrom
9999years:fix-tmpdir
Oct 5, 2024
Merged

Fix HaddockKeepTmpsCustom test for merge skew#10424
mergify[bot] merged 1 commit into
haskell:masterfrom
9999years:fix-tmpdir

Conversation

@9999years

Copy link
Copy Markdown
Collaborator

The HaddockKeepTmpsCustom test added in #10392 skewed against #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.

@ulysses4ever ulysses4ever left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need to be fast-tracked if effective.

@9999years
9999years marked this pull request as ready for review October 4, 2024 23:52
@9999years 9999years added the merge me Tell Mergify Bot to merge label Oct 4, 2024
@9999years

Copy link
Copy Markdown
Collaborator Author

I'm off for the weekend, but hopefully this passes CI.

@ulysses4ever ulysses4ever added the merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days label Oct 4, 2024
@mergify mergify Bot added the ready and waiting Mergify is waiting out the cooldown period label Oct 5, 2024
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.
@mergify
mergify Bot merged commit b1e842d into haskell:master Oct 5, 2024
@9999years
9999years deleted the fix-tmpdir branch October 5, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days merge me Tell Mergify Bot to merge ready and waiting Mergify is waiting out the cooldown period

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants