Skip to content
Snippets Groups Projects
Commit 44c7f0b8 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

Cleaning python testing macros.

When attemping to add tests using vtk_add_test_python_mpi(), issues were
spotted in the vtkTestingMacros code. This commit addresses those
issues.

VTK_PYTHON_EXE is no longer globally defined in CMakeLists.txt.
vtk_add_test_python_mpi() and vtk_add_test_python() assume a good
default is none is set (this allows for applications like ParaView to
use these macros while overriding the executable to run).

We use generator expressions to point to the default
vtkpython/pvtkpython executables which works better when MPI
(mpiexec/mpirun) is being used to launch the test executable.
parent 695b4817
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment