1 # On windows, execute_process runs PARAVIEW_EXECUTABLE in background. 2 # We prepend "cmd /c" to force paraview's window to be shown to ensure proper 3 # mouse interactions with the GUI. 5 set(PARAVIEW_EXECUTABLE cmd /c ${PARAVIEW_EXECUTABLE})
8 # set `DASHBOARD_TEST_FROM_CTEST` environment variable to ensure 9 # the executables realize we're running tests. 10 set(ENV{DASHBOARD_TEST_FROM_CTEST}
"1")
13 "${PARAVIEW_EXECUTABLE} -dr --test-directory=${TEMPORARY_DIR} --data-directory=${DATA_DIR} --test-script=${TEST_SCRIPT} --exit" 17 COMMAND ${PARAVIEW_EXECUTABLE} -dr
18 --test-directory=${TEMPORARY_DIR}
19 --
data-directory=${DATA_DIR}
20 --test-script=${TEST_SCRIPT}
25 message(FATAL_ERROR
"ParaView return value was ${rv}")
29 "${PVPYTHON_EXECUTABLE} -dr ${TEST_VERIFIER} -T ${TEMPORARY_DIR} -N ${TEST_NAME}
" 33 COMMAND ${PVPYTHON_EXECUTABLE} -dr 40 message(FATAL_ERROR "pvpython
return value was ${rv}
")