Design for test: Add a way to redirect the helpers path
Compare changes
Files
8- Simon McVittie authored
We can use this to connect up a mock implementation if necessary. Signed-off-by:
Simon McVittie <smcv@collabora.com>
We can use this to connect up a mock implementation if necessary.
Intended for use by @jpwhiting in !24 (merged), which has mock wflinfo executables that will need to be found with logic like
if (helpers_path != NULL)
helper = g_strdup_printf ("%s/%s-wflinfo", helpers_path, multiarch_tuple);
else /* look in PATH */
helper = g_strdup_printf ("%s-wflinfo", multiarch_tuple);
if we build them in tests/
and install them in /usr/libexec/installed-tests/steam-runtime-tools-0
as we probably should.
Sorry @denittis, this is going to cause some (hopefully minor) rebase conflicts for you.
We can use this to connect up a mock implementation if necessary.
Signed-off-by:
Simon McVittie <smcv@collabora.com>