Sven Tennie pushed to branch wip/romes/hadrian-cross-stage2-rebase_SVEN_FINAL at Glasgow Haskell Compiler / GHC
Commits:
-
dfe9142c
by Sven Tennie at 2025-12-31T13:51:19+01:00
1 changed file:
Changes:
| ... | ... | @@ -13,4 +13,10 @@ T24602: |
| 13 | 13 | --emit_use_strict \
|
| 14 | 14 | --js_output_file ./T24602.jsexe/all.min.js \
|
| 15 | 15 | ./T24602.jsexe/all.js ./T24602.jsexe/all.externs.js
|
| 16 | + # For odd reasons, the final js file might not be finally written at this
|
|
| 17 | + # line. This happens when tests run concurrently (e.g. on CI).
|
|
| 18 | + while [ ! -f "./T24602.jsexe/all.min.js" ]; do \
|
|
| 19 | + sync \
|
|
| 20 | + sleep 1; \
|
|
| 21 | + done
|
|
| 16 | 22 | node ./T24602.jsexe/all.min.js |