pavelsavara wrote: could shell script named `wasm-opt` on PATH and doing nothing do the trick ? Or even better it could write it's arguments into some file, so that they could be asserted in the test. 2c https://github.com/llvm/llvm-project/pull/98373