build: Fix testprocess invocation during "as-installed" tests

During build-time testing, we can use `$<TARGET_FILE:childprocess>` to
pass the just-built childprocess executable to it as an argument, but
during "as-installed" testing we need to use the installed path of
the childprocess executable instead.

Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
Simon McVittie
2024-09-17 18:29:38 +01:00
committed by Sam Lantinga
parent 81644d260f
commit 80da805688
2 changed files with 13 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
[Test]
Type=session
Exec=@installedtestsdir@/@exe@ @noninteractive_arguments@
Exec=@installedtestsdir@/@exe@ @installed_arguments@