Skip to content

WIP: Set default value for `RECC_COMMAND_LAUNCHER`

This MR sets the RECC_COMMAND_LAUNCHER option (introduced in !209 (closed)) to "/usr/bin/env" by default. That means that commands like gcc will, unless otherwise specified, be prepended with the absolute path to env.

As this modifies the contents of Command messages, some unit tests for ParsedCommand and ActionBuilder need adjusting.

Note that this will change the hash of some Actions produced by ActionBuilder, so cache misses are to be expected.

The corresponding hashes are updated in the unit tests for ActionBuilder, but that is currently not the case with the e2e test, which will fail.

Edited by Santiago Gil

Merge request reports