Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions gui/fitpanel/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,17 @@
# For the licensing terms see $ROOTSYS/LICENSE.
# For the list of contributors see $ROOTSYS/README/CREDITS.

# @author Danilo Piparo CERN
# @author Sergey Linev

ROOT_EXECUTABLE(fitPanelUnitTesting UnitTesting.cxx LIBRARIES FitPanel Gui Tree Hist MathCore)

# batch usage is instable - need more investigations
#ROOT_ADD_TEST(test-fitpanel-UnitTesting-batch COMMAND fitPanelUnitTesting -b FAILREGEX "FAILED|Error in")
# batch mode is unstable, it still crashed on some CI platforms
# ROOT_ADD_TEST(test-fitpanel-UnitTesting-batch COMMAND fitPanelUnitTesting -b FAILREGEX "FAILED|Error in")

find_program(XVFB_RUN_EXECUTABLE NAMES xvfb-run)

if(XVFB_RUN_EXECUTABLE)
ROOT_ADD_TEST(test-fitpanel-UnitTesting-xvfb
COMMAND ${XVFB_RUN_EXECUTABLE} --auto-servernum --server-args="-screen 0 1024x768x24" ./fitPanelUnitTesting
PASSRC 1
COMMAND ${XVFB_RUN_EXECUTABLE} -a -s "-ac -screen 0 1024x768x24" ./fitPanelUnitTesting
FAILREGEX "FAILED|Error in")
endif()
Loading
Loading