Repository navigation
Commit a31f8b0
authored
Fix julia engine smoke test cleaning the wrong runtime dir on Linux (#15264)
The julia engine smoke test's log-file check cleaned the wrong runtime
directory on Linux. The test built its path with a "quarto" segment
under $XDG_RUNTIME_DIR, but the engine uses $XDG_RUNTIME_DIR as-is.
Setup deleted files in that wrong directory, so an earlier julia
render's server log survived and was printed instead of the "doesn't
exist" message.
Use the engine's runtime path in the test again. The
XDG_RUNTIME_DIR-unset fallback also matches the engine's app dirs
($XDG_DATA_HOME/quarto rather than the cache dir).
- Compute the julia runtime dir in the smoke test as the engine does
- Align the unset-XDG_RUNTIME_DIR fallback with appdirs
Related to #15156
See PumasAI/quarto-julia-engine#171 parent 708e443 commit a31f8b0
5 files changed
Lines changed: 18 additions & 5 deletions
File tree
- .claude/rules
- dev-docs
- packages/quarto-types
- dist
- src
- src/resources/extension-subtrees/julia-engine/tests/smoke/julia-engine
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
57 | 65 | | |
58 | 66 | | |
59 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1168 | 1168 | | |
1169 | 1169 | | |
1170 | 1170 | | |
1171 | | - | |
| 1171 | + | |
1172 | 1172 | | |
1173 | 1173 | | |
1174 | 1174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | | - | |
| 494 | + | |
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
| 31 | + | |
29 | 32 | | |
30 | | - | |
31 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
0 commit comments