Index: test/lit.cfg =================================================================== --- test/lit.cfg +++ test/lit.cfg @@ -240,6 +240,8 @@ 'LLVM_ENABLE_MACHINE_VERIFIER' in os.environ and os.environ['LLVM_ENABLE_MACHINE_VERIFIER'] == "1"): tool_path += " -verify-machineinstrs" + if (tool_name == "llvm-go"): + tool_path += " go=" + config.go_executable return tool_name, tool_path, tool_pipe