You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_resolutionLog($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Muxer compatible with '{targetArchitecture}' resolved from PATH: '{muxerPath}'");
136
+
returntrue;
137
+
}
138
+
139
+
_resolutionLog($"DotnetHostHelper.TryGetDotnetPathByArchitecture: Muxer resolved using PATH is not compatible with the target architecture: '{muxerPath}'");
// We look for dotnet muxer only if we're not running with mono.
122
121
if(dotnetRunnerName!=MonoRunnerName)
123
122
{
124
-
if(!IsCurrentProcessArchitectureCompatible())
123
+
if(DotnetHostPathis not null&&File.Exists(DotnetHostPath.ItemSpec)&&IsCurrentProcessArchitectureCompatible())
125
124
{
126
-
Log.LogMessage(MessageImportance.Low,$"Current process architecture '{_currentProcessArchitecture}' is not compatible with '{TestArchitecture.ItemSpec}'");
Log.LogMessage(MessageImportance.Low,$"dotnet muxer tool path found using DOTNET_HOST_PATH environment variable: '{DotnetHostPath.ItemSpec}'");
126
+
returnDotnetHostPath.ItemSpec;
127
+
}
128
+
129
+
Log.LogMessage(MessageImportance.Low,$"Current process architecture '{_currentProcessArchitecture}'. Requested test architecture '{TestArchitecture.ItemSpec}'");
Log.LogMessage(MessageImportance.Low,$"dotnet muxer tool path found using current process: '{mainModule.FileName}' architecture: '{_currentProcessArchitecture}'");
Copy file name to clipboardexpand all lines: test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceTestBase.cs
+25
Original file line number
Diff line number
Diff line change
@@ -141,6 +141,31 @@ public static void ClassCleanup()
0 commit comments