From 0305f4234b43e0ce7dfd7697c8082aeec2244087 Mon Sep 17 00:00:00 2001 From: Sergey Linev Date: Tue, 15 Oct 2024 17:36:11 +0200 Subject: [PATCH] Enable `test-stressgraphics-firefox-skip3d` Try to run stressGraphics with firefox, but without 3d On several platforms (like Windows and sometime Mac) firefox has problem to initialize WebGL and fallback solution does not work properly --- test/CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 75f30bfce1f0b..8725e41dbcb93 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -183,14 +183,14 @@ if(ROOT_opengl_FOUND) FAILREGEX "FAILED|Error in" LABELS longtest) endif() - # if(FIREFOX_EXECUTABLE AND NOT APPLE AND NOT MSVC) - # ROOT_ADD_TEST(test-stressgraphics-firefox - # RUN_SERIAL - # ENVIRONMENT LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib:$ENV{LD_LIBRARY_PATH} - # COMMAND stressGraphics -b -k -p=sgf --web=firefox - # FAILREGEX "FAILED|Error in" - # LABELS longtest) - # endif() + if(FIREFOX_EXECUTABLE AND NOT APPLE) + ROOT_ADD_TEST(test-stressgraphics-firefox-skip3d + RUN_SERIAL + ENVIRONMENT LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib:$ENV{LD_LIBRARY_PATH} + COMMAND stressGraphics -b -k -p=sgf --web=firefox -skip3d + FAILREGEX "FAILED|Error in" + LABELS longtest) + endif() endif() #--stressHistogram------------------------------------------------------------------------------------