Use the configured emulator for probe CTest scripts #29
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/JamesCicada--GTAVI-Recomp!29
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-29"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@RavenCurseBurg on GitHub · 2026-11-26 04:33 UTC · original
RavenCurseBurg:test/probe-cross-emulator→main· +11 −6 · 3 files · 1 commits · openIn a cross build, CTest launches
gtavi_teststhrough the target’sCROSSCOMPILING_EMULATOR. The Unicode and mount tests launchgtavi_probefrom separate CMake scripts. Those scripts called the foreign executable directly, so both tests failed even though the toolchain had a working emulator.Pass the probe target’s emulator and its argument list to both scripts, and use it for all four probe invocations when cross-compiling.
I cross-compiled Release binaries for Linux AArch64 on an x86-64 Ubuntu runner and ran them with QEMU. The parent passed 1 of 3 CTests and made zero probe calls through the configured launcher. This branch passed all 3 and made four probe calls through it. The launcher path and one argument each contained spaces. The native Windows Release build also passed all 3 CTests. AArch64 before/after verification
AI-assisted with Codex + GPT-6.2 Astra (xhigh).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.