Skip to content

Commit

Permalink
Headless chrome browser, but new svg disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
DuesselbergAdrian committed Aug 30, 2024
1 parent d463e09 commit ddfbccb
Show file tree
Hide file tree
Showing 99 changed files with 13 additions and 9 deletions.
20 changes: 12 additions & 8 deletions graphics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,20 +179,24 @@ foreach(TEST_DESCRIPTION ${TEST_DESCRIPTIONS})
ROOTTEST_ADD_TEST(${macro}_s
MACRO testGraphics.C
MACROARG \"${macro}\",\"s\",\"${macro_folder}\",\"${BUILD_DIR}\")

# TODO: Headless chrome browser in ROOT CI and swbug hanging browser,
# maybe also some new references

# elseif(${test_type} STREQUAL "a")
# foreach (X "j" "o" "p" "s")
# ROOTTEST_ADD_TEST(${macro}_${X}
# MACRO testGraphics.C
# MACROARG \"${macro}\",\"${X}\",\"${macro_folder}\",\"${BUILD_DIR}\")
# endforeach()

# New SVG disabled
elseif(${test_type} STREQUAL "a")
foreach (X "j" "o" "p" "s")
foreach (X "j" "o" "p")
ROOTTEST_ADD_TEST(${macro}_${X}
MACRO testGraphics.C
MACROARG \"${macro}\",\"${X}\",\"${macro_folder}\",\"${BUILD_DIR}\")

# See comment above for the creation of the executable...
# ROOTTEST_ADD_TEST(${macro}_${X}_exe
# DEPENDS ${GENERATE_EXECUTABLE_TEST}
# WORKING_DIR ${CMAKE_CURRENT_SOURCE_DIR}
# EXEC testGraphics ${macro} ${X} ${macro_folder} ${BUILD_DIR})
endforeach()

else()
ROOTTEST_ADD_TEST(${macro}_${test_type}
MACRO testGraphics.C
Expand Down
Binary file modified graphics/new_svg_ref/AtlasExample.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/BreitWigner.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/CrystalBall.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/DynamicSlice.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/Fibonacci.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/GammaFun.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/NormalizeHistogram.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/ZoomHistogram.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/analyze.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/annotation3d.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/approx.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/archi.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/arrows.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/basic3d.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/candledecay.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/candleplot.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/candleplotstack.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/candleplotwhiskers.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/candlescaled.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/canvas.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/chi2test.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/compile.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/crown.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/eval.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/event.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/exclusiongraph.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/fillhistosauto2p.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/fillrandom.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/formula1.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/framework.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/gaxis.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/gaxis3.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/gerrors.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/gmultierrors.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/graph.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/graph2derrorsfit.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/graphApply.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/graphShade.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/graphpolar.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/graphpolar2.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/graphreverse.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/greyscale.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/h2_cut.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/h2proj.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/histpalettecolor.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/hksimple.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/hlGraph1.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/hlHisto1.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/hlHisto2.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/hlabels1.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/hlquantiles.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/hstack.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/labels1.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/labels2.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/latex.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/latex2.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/logscales.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/markerwarning.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/mass_spectrum.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/mathBeta.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/mathGammaNormal.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/mathStudent.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/mathcoreCDF.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/mathcoreStatFunc.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/movepalette.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/multicolor.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/normalDist.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/pavetext.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/quantiles.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/quarks.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/ratioplot1.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/ratioplot2.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/ratioplot3.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/ratioplot4.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/ratioplot5.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/ratioplot6.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/ratioplotOld.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/rebin.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/reverseaxis.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/scatter.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/schroedinger_hydrogen.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/testSmooth.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/th2polyBoxes.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/th2polyEurope.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/th2polyHoneycomb.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/th2polyUSA.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/timeonaxis2.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/tmathtext.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/tmathtext2.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/transparency.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/triangles.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/twoscales.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/vavilov.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/waves.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/xyplot.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/zdemo.svg.zip
Binary file not shown.
Binary file modified graphics/new_svg_ref/zones.svg.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion graphics/testGraphics.C
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ int testGraphics(const std::string& macroName, const std::string& test_type, con
return test_pdf(c1, macroName, builddir);
}
if (test_type == 's'){
gROOT->SetWebDisplay("firefox");
gROOT->SetWebDisplay("chrome");
return test_new_svg(macroName, builddir);
}
std::cerr << "Unrecognised test type '" << test_type << "'" << std::endl;
Expand Down

0 comments on commit ddfbccb

Please sign in to comment.