Browse Source

Fix COMPlus environmental parameters

js/color-alpha-handling
James Jackson-South 6 years ago
parent
commit
5e53e8363d
  1. 8
      tests/ImageSharp.Tests/TestUtilities/FeatureTesting/FeatureTestRunner.cs

8
tests/ImageSharp.Tests/TestUtilities/FeatureTesting/FeatureTestRunner.cs

@ -53,7 +53,7 @@ namespace SixLabors.ImageSharp.Tests.TestUtilities
var processStartInfo = new ProcessStartInfo(); var processStartInfo = new ProcessStartInfo();
if (intrinsic.Key != HwIntrinsics.AllowAll) if (intrinsic.Key != HwIntrinsics.AllowAll)
{ {
processStartInfo.Environment[$"COMPlus_Enable{intrinsic}"] = "0"; processStartInfo.Environment[$"COMPlus_{intrinsic}"] = "0";
RemoteExecutor.Invoke( RemoteExecutor.Invoke(
action, action,
@ -94,7 +94,7 @@ namespace SixLabors.ImageSharp.Tests.TestUtilities
var processStartInfo = new ProcessStartInfo(); var processStartInfo = new ProcessStartInfo();
if (intrinsic.Key != HwIntrinsics.AllowAll) if (intrinsic.Key != HwIntrinsics.AllowAll)
{ {
processStartInfo.Environment[$"COMPlus_Enable{intrinsic}"] = "0"; processStartInfo.Environment[$"COMPlus_{intrinsic}"] = "0";
RemoteExecutor.Invoke( RemoteExecutor.Invoke(
action, action,
@ -137,7 +137,7 @@ namespace SixLabors.ImageSharp.Tests.TestUtilities
var processStartInfo = new ProcessStartInfo(); var processStartInfo = new ProcessStartInfo();
if (intrinsic.Key != HwIntrinsics.AllowAll) if (intrinsic.Key != HwIntrinsics.AllowAll)
{ {
processStartInfo.Environment[$"COMPlus_Enable{intrinsic}"] = "0"; processStartInfo.Environment[$"COMPlus_{intrinsic}"] = "0";
RemoteExecutor.Invoke( RemoteExecutor.Invoke(
action, action,
@ -180,7 +180,7 @@ namespace SixLabors.ImageSharp.Tests.TestUtilities
var processStartInfo = new ProcessStartInfo(); var processStartInfo = new ProcessStartInfo();
if (intrinsic.Key != HwIntrinsics.AllowAll) if (intrinsic.Key != HwIntrinsics.AllowAll)
{ {
processStartInfo.Environment[$"COMPlus_Enable{intrinsic}"] = "0"; processStartInfo.Environment[$"COMPlus_{intrinsic}"] = "0";
RemoteExecutor.Invoke( RemoteExecutor.Invoke(
action, action,

Loading…
Cancel
Save