Skip to content

Design for test: Add a way to redirect the helpers path

Simon McVittie requested to merge wip/smcv/redirect-helpers-path into master

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.

Edited by Simon McVittie

Merge request reports