diff --git a/src/Tools/Source/RunTests/Program.cs b/src/Tools/Source/RunTests/Program.cs index e531b681a4f1eb2367f3adca2fa4eafdfd3e2f85..949566189e52c763b94a4f3b1a0cda39c511bcf4 100644 --- a/src/Tools/Source/RunTests/Program.cs +++ b/src/Tools/Source/RunTests/Program.cs @@ -156,7 +156,7 @@ private static void WriteLogFile(Options options) /// private static async Task HandleTimeout(Options options, CancellationToken cancellationToken) { - var procDumpFilePath = Path.Combine(options.ProcDumpPath, "procdump.exe"); + var procDumpFilePath = GetProcDumpInfo(options).Value.ProcDumpFilePath; async Task DumpProcess(Process targetProcess, string dumpFilePath) { @@ -217,7 +217,7 @@ async Task DumpProcess(Process targetProcess, string dumpFilePath) var dumpDir = options.LogFilePath != null ? Path.GetDirectoryName(options.LogFilePath) : Directory.GetCurrentDirectory(); - return new ProcDumpInfo(options.ProcDumpPath, dumpDir); + return new ProcDumpInfo(Path.Combine(options.ProcDumpPath, "procdump.exe"), dumpDir); } return null;