Commit 10874639 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

Make test use offscreen rendering.

Making the test a little more robust to random failures
parent bd7fc6bd
Pipeline #189723 running with stage
......@@ -28,7 +28,7 @@ endif()
# run pvpython to load the state file and verify the result
execute_process(
COMMAND ${PVPYTHON_EXECUTABLE} -dr
COMMAND ${PVPYTHON_EXECUTABLE} -dr --force-offscreen-rendering
${TEST_DRIVER}
${TEMPORARY_DIR}/${PYTHON_STATE_TEST_NAME}-StateFile.py
-T ${TEMPORARY_DIR}
......
......@@ -12,7 +12,7 @@ exec(open(sys.argv[1]).read())
_view = GetActiveView()
_view.ViewSize = [300, 300]
_view.SMProxy.UpdateVTKObjects()
_view.StillRender()
if not smtesting.DoRegressionTesting(_view.SMProxy):
# This will lead to VTK object leaks.
......
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