diff --git a/build.cake b/build.cake index bb695a24..d93cb187 100644 --- a/build.cake +++ b/build.cake @@ -161,14 +161,14 @@ Task ("tests") failedTests++; } - // SkiaSharp.Vulkan.Tests.dll - if (SUPPORT_VULKAN) { - try { - RunTests ($"./tests/SkiaSharp.Vulkan.Desktop.Tests/bin/{arch}/{CONFIGURATION}/SkiaSharp.Vulkan.Tests.dll", arch == "x86"); - } catch { - failedTests++; - } - } + // // SkiaSharp.Vulkan.Tests.dll + // if (SUPPORT_VULKAN) { + // try { + // RunTests ($"./tests/SkiaSharp.Vulkan.Desktop.Tests/bin/{arch}/{CONFIGURATION}/SkiaSharp.Vulkan.Tests.dll", arch == "x86"); + // } catch { + // failedTests++; + // } + // } } CleanDirectories ($"{PACKAGE_CACHE_PATH}/skiasharp*"); @@ -184,25 +184,25 @@ Task ("tests") RunDesktopTest ("x64"); } - // .NET Core + // // .NET Core - // SkiaSharp.NetCore.Tests.csproj - RunMSBuild ("./tests/SkiaSharp.NetCore.Tests.sln", - bl: $"./output/binlogs/tests-netcore.binlog"); - try { - RunNetCoreTests ("./tests/SkiaSharp.NetCore.Tests/SkiaSharp.NetCore.Tests.csproj"); - } catch { - failedTests++; - } + // // SkiaSharp.NetCore.Tests.csproj + // RunMSBuild ("./tests/SkiaSharp.NetCore.Tests.sln", + // bl: $"./output/binlogs/tests-netcore.binlog"); + // try { + // RunNetCoreTests ("./tests/SkiaSharp.NetCore.Tests/SkiaSharp.NetCore.Tests.csproj"); + // } catch { + // failedTests++; + // } - // SkiaSharp.Vulkan.NetCore.Tests.csproj - if (SUPPORT_VULKAN) { - try { - RunNetCoreTests ("./tests/SkiaSharp.Vulkan.NetCore.Tests/SkiaSharp.Vulkan.NetCore.Tests.csproj"); - } catch { - failedTests++; - } - } + // // SkiaSharp.Vulkan.NetCore.Tests.csproj + // if (SUPPORT_VULKAN) { + // try { + // RunNetCoreTests ("./tests/SkiaSharp.Vulkan.NetCore.Tests/SkiaSharp.Vulkan.NetCore.Tests.csproj"); + // } catch { + // failedTests++; + // } + // } if (failedTests > 0) if (THROW_ON_TEST_FAILURE) diff --git a/cake/UtilsManaged.cake b/cake/UtilsManaged.cake index 857a529d..6b8d4ac3 100644 --- a/cake/UtilsManaged.cake +++ b/cake/UtilsManaged.cake @@ -25,7 +25,7 @@ void RunTests(FilePath testAssembly, bool is32) Parallelism = ParallelismOption.All, OutputDirectory = dir, WorkingDirectory = dir, - ArgumentCustomization = args => args.Append("-verbose"), + ArgumentCustomization = args => args.Append("-verbose -method \"SkiaSharp.Tests.SKCodecTest.CanCreateStreamCodec\""), }; var traits = CreateTraitsDictionary(UNSUPPORTED_TESTS); foreach (var trait in traits) {