Skip to content

Commit

Permalink
Port issue 1465 to V4
Browse files Browse the repository at this point in the history
  • Loading branch information
CharliePoole committed Dec 28, 2024
1 parent 26dd67e commit 3bff88a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/NUnitEngine/nunit.engine.core/Drivers/DriverService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ public IFrameworkDriver GetDriver(AppDomain domain, string assemblyPath, string
: targetFramework.Split(new char[] { ',' })[0];

if (platform == "Silverlight" || platform == ".NETPortable" || platform == ".NETStandard" || platform == ".NETCompactFramework")
return new InvalidAssemblyFrameworkDriver(assemblyPath, platform + " test assemblies are not supported by this version of the engine");
if (skipNonTestAssemblies)
return new SkippedAssemblyFrameworkDriver(assemblyPath);
else
return new InvalidAssemblyFrameworkDriver(assemblyPath, platform +
" test assemblies are not supported by this version of the engine");
}

try
Expand Down

0 comments on commit 3bff88a

Please sign in to comment.