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 authored and Sam Lantinga committed 2024-09-25 14:48:26 -07:00
1 parent 81644d260f
commit 80da805688
2 files changed
+13 -3

No files matched your search

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