From 666fe1760376094a47a41cdca6cc1c3ee439a5e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 8 Jun 2021 15:49:52 +0200 Subject: [PATCH] package/ci: don't even attempt to run benchmarks on SwiftShader. The damn thing has more bugs than features and doesn't support timer queries anyway, so there's no point in trying anything. --- package/ci/unix-desktop-gles.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/ci/unix-desktop-gles.sh b/package/ci/unix-desktop-gles.sh index 80a153493..f709f19b1 100755 --- a/package/ci/unix-desktop-gles.sh +++ b/package/ci/unix-desktop-gles.sh @@ -56,6 +56,12 @@ cmake .. \ -DBUILD_GL_TESTS=ON \ -G Ninja ninja $NINJA_JOBS + +# Don't run any benchmarks. SwiftShader doesn't support +# EXT_disjoint_timer_query anyway and the CPU-side things are run in the usual +# desktop build already. +export CORRADE_TEST_SKIP_BENCHMARKS=ON + CORRADE_TEST_COLOR=ON ctest -V MAGNUM_DISABLE_EXTENSIONS="GL_OES_vertex_array_object GL_NV_framebuffer_multisample GL_NV_framebuffer_blit GL_EXT_robustness GL_EXT_draw_elements_base_vertex" CORRADE_TEST_COLOR=ON ctest --output-on-failure -j5 -R GLTest MAGNUM_DISABLE_EXTENSIONS="GL_OES_vertex_array_object GL_NV_framebuffer_multisample GL_NV_framebuffer_blit GL_EXT_robustness GL_EXT_draw_elements_base_vertex GL_OES_draw_elements_base_vertex GL_ANGLE_base_vertex_base_instance" CORRADE_TEST_COLOR=ON ctest --output-on-failure -j5 -R GLTest