Try one test at a time
This commit is contained in:
Родитель
6da54b49c0
Коммит
535f6fe66a
50
build.cake
50
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)
|
||||
|
|
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче