Commit db520d50 authored by Kyle Lutz's avatar Kyle Lutz

Disable SelectionLabels test if Python is disabled

This fixes a test failure for the SelectionLabels which fails
if Python is not enabled. Now the test should only be run if
ParaView is built with Python support.

Change-Id: Iee16e0e4d1642e8990b12302a923f37d4ea47a40
parent 46f24aae
......@@ -129,7 +129,6 @@ SET (TESTS_WITH_BASELINES
# ${CMAKE_CURRENT_SOURCE_DIR}/SaveAnimationGeometry.xml
${CMAKE_CURRENT_SOURCE_DIR}/SaveColorMap.xml
${CMAKE_CURRENT_SOURCE_DIR}/SaveCSV.xml
${CMAKE_CURRENT_SOURCE_DIR}/SelectionLabels.xml
${CMAKE_CURRENT_SOURCE_DIR}/SelectReader.xml
${CMAKE_CURRENT_SOURCE_DIR}/SimpleInteraction.xml
${CMAKE_CURRENT_SOURCE_DIR}/Slice.xml
......@@ -161,6 +160,13 @@ SET (TESTS_WITH_BASELINES
# ${CMAKE_CURRENT_SOURCE_DIR}/XYBarChart.xml
)
if(PARAVIEW_ENABLE_PYTHON)
set(TESTS_WITH_BASELINES
${TESTS_WITH_BASELINES}
${CMAKE_CURRENT_SOURCE_DIR}/SelectionLabels.xml
)
endif()
#------------------------------------------------------------------------------
# Add streaming tests.
# We need to locate smooth.flash since it's not included in the default testing
......@@ -276,6 +282,7 @@ set (StructuredGridVolumeRendering_DISABLE_CRS TRUE)
# <-- since volume rendering is not supported in CRS mode.
# Since this test needs selection, disable in CRS mode.
set (SelectionLabels_BREAK TRUE)
set (SelectionLabels_DISABLE_CRS TRUE)
# Mark tests that change change state considerably requires a restart of the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment