Commit 945231d
committed
[test] Only cleanup temp directory when running CI
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 4b2ae12 commit 945231d
1 file changed
Lines changed: 7 additions & 5 deletions
| 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 | | |
| |||
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
721 | | - | |
722 | | - | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
723 | 725 | | |
724 | 726 | | |
725 | 727 | | |
| |||
0 commit comments