Disable tests on iPhone 6 that use too much memory.

The iPhone 6 only has 1GB of RAM. (The iPhone 7 and 8 have 2GB.)

Change-Id: I4efd00f21feb9c7b6e42d99936989573d26acef3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/465390
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Erik Rose <erikrose@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Erik Rose <erikrose@google.com>
This commit is contained in:
John Stiles 2021-10-29 11:43:42 -04:00 committed by SkCQ
parent 379957e1f8
commit 1ea54a127f
2 changed files with 20 additions and 16 deletions

View File

@ -292,14 +292,14 @@ func (b *taskBuilder) dmFlags(internalHardwareLabel string) {
// Graphite bot *only* runs the grmtl config
if b.extraConfig("Graphite") {
args = append(args, "--nogpu") // disable non-Graphite tests
args = append(args, "--nogpu") // disable non-Graphite tests
// TODO: re-enable - currently fails with "Failed to make lazy image"
skip("_", "gm", "_", "image_subset")
if b.extraConfig("ASAN") {
// skbug.com/12507 (Neon UB during JPEG compression on M1 ASAN Graphite bot)
skip("_", "gm", "_", "yuv420_odd_dim") // Oddly enough yuv420_odd_dim_repeat doesn't crash
// skbug.com/12507 (Neon UB during JPEG compression on M1 ASAN Graphite bot)
skip("_", "gm", "_", "yuv420_odd_dim") // Oddly enough yuv420_odd_dim_repeat doesn't crash
skip("_", "gm", "_", "encode-alpha-jpeg")
skip("_", "gm", "_", "encode")
skip("_", "gm", "_", "jpg-color-cube")
@ -360,7 +360,7 @@ func (b *taskBuilder) dmFlags(internalHardwareLabel string) {
if b.model("Spin513") {
// skbug.com/11876
skip("_ test _ Programs")
// skbug.com/12486
// skbug.com/12486
skip("_ test _ TestMockContext")
skip("_ test _ TestGpuRenderingContexts")
skip("_ test _ TestGpuAllContexts")
@ -809,12 +809,16 @@ func (b *taskBuilder) dmFlags(internalHardwareLabel string) {
skip("serialize-8888", "gm", "_", test)
}
// It looks like we skip these only for out-of-memory concerns.
// We skip these to avoid out-of-memory failures.
if b.matchOs("Win", "Android") {
for _, test := range []string{"verylargebitmap", "verylarge_picture_image"} {
skip("serialize-8888", "gm", "_", test)
}
}
if b.model("iPhone6") {
skip("_", "gm", "_", "verylargebitmap")
skip("_", "gm", "_", "verylarge_picture_image")
}
if b.matchOs("Mac") && b.cpu() {
// skia:6992
skip("pic-8888", "gm", "_", "encode-platform")
@ -930,21 +934,21 @@ func (b *taskBuilder) dmFlags(internalHardwareLabel string) {
skip("_", "tests", "_", "SkSLVectorToMatrixCast_GPU") // skia:12179
}
if ((b.extraConfig("Vulkan") && b.isLinux() && b.matchGpu("Intel")) ||
(b.extraConfig("ANGLE") && b.matchOs("Win") && b.matchGpu("IntelIris(540|655)"))) {
if (b.extraConfig("Vulkan") && b.isLinux() && b.matchGpu("Intel")) ||
(b.extraConfig("ANGLE") && b.matchOs("Win") && b.matchGpu("IntelIris(540|655)")) {
skip("_", "tests", "_", "SkSLSwitchDefaultOnly_GPU") // skia:12465
}
if b.gpu("Tegra3") {
// Tegra3 fails to compile break stmts inside a for loop (skia:12477)
// Tegra3 fails to compile break stmts inside a for loop (skia:12477)
skip("_", "tests", "_", "SkSLSwitch_GPU")
skip("_", "tests", "_", "SkSLSwitchDefaultOnly_GPU")
skip("_", "tests", "_", "SkSLSwitchWithFallthrough_GPU")
skip("_", "tests", "_", "SkSLSwitchWithLoops_GPU")
}
}
if (!b.extraConfig("Vulkan") &&
(b.gpu("QuadroP400") || b.gpu("GTX660") || b.gpu("GTX960") || b.gpu("Tegra3"))) {
if !b.extraConfig("Vulkan") &&
(b.gpu("QuadroP400") || b.gpu("GTX660") || b.gpu("GTX960") || b.gpu("Tegra3")) {
// Various Nvidia GPUs crash or generate errors when assembling weird matrices (skia:12443)
skip("_", "tests", "_", "SkSLMatrixConstructorsES2_GPU")
skip("_", "tests", "_", "SkSLMatrixConstructorsES3_GPU")
@ -953,7 +957,7 @@ func (b *taskBuilder) dmFlags(internalHardwareLabel string) {
if !b.extraConfig("Vulkan") && (b.gpu("RadeonR9M470X") || b.gpu("RadeonHD7770")) {
// Some AMD GPUs can get the wrong result when assembling non-square matrices (skia:12443)
skip("_", "tests", "_", "SkSLMatrixConstructorsES3_GPU")
}
}
if b.matchGpu("Intel") { // some Intel GPUs don't return zero for the derivative of a uniform
skip("_", "tests", "_", "SkSLIntrinsicDFdy_GPU")

File diff suppressed because one or more lines are too long