upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/tiny_game_exit_code_test.cpp
diff options
context:
space:
mode:
authorTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-12-02 05:41:45 +0100
committerTheGeogeo <57634077+TheGeogeo@users.noreply.github.com>2026-12-02 12:04:48 +0100
commit3df7430e3f72448cb139e115d88f8683c4270e97 (patch)
tree72e0735077549f8a0b86098885b58f915182c2a4 /runtime/test/tiny_game_exit_code_test.cpp
parentaf89a79c109b3f7eccd7acb98037f3bfe02303be (diff)
tests: test_game_abba.py reads paths and errors the same on a CI runner (review)
The Windows runner of the `check` job failed three of these tests; the script was right. - Its TEMP is an 8.3 short path (C:\Users\RUNNER~1\...), and [IO.Path]::GetFullPath, which the script uses for every folder it compares and records, expands short names: the printed gate path and abba.json's folders were the long spelling of what the tests gave. The tests now take the real path of their temporary folders and compare paths after realpath and normcase. - Its console colours PowerShell's error text and wraps it with the escape sequences inside the wrap, which unwrapped() did not join. The tests now run pwsh with NO_COLOR=1, and unwrapped() removes colour sequences before it joins the wrapped lines.
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions