Commit 72ca2cf
authored
[test] Only cleanup temp directory when running CI (#26567)
This causes all kind of issues if you have more than one emscripten
checkout active at a given time (which I often do these days thanks the
git worktrees and AI agents).
The tests themselves should never leak temp files. We even have
`EMTEST_DETECT_TEMPFILE_LEAKS` (which we set during CI) that ensure this
is the case.
I think the parallel test runner can leak temp directories if its killed
at the wrong time, but #25615 should help with that.
See #25614 and #261101 parent 33c924e commit 72ca2cf
1 file changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
573 | | - | |
574 | | - | |
575 | | - | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
723 | 726 | | |
724 | 727 | | |
725 | 728 | | |
| |||
0 commit comments