CMakeLists.txt 1.61 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
option(VTK_BUILD_BODR_DATA_GENERATOR
  "If enabled, the test used to generate the vtkBlueObeliskDataInternal.h header will be built."
  OFF
)
mark_as_advanced(VTK_BUILD_BODR_DATA_GENERATOR)

set(generator_test)
if(VTK_BUILD_BODR_DATA_GENERATOR)
  set(generator_test
    "GenerateBlueObeliskHeader.cxx,NO_VALID,NO_DATA,NO_OUTPUT"
  )
endif()

14
set(TestVASPAnimationReader_ARGS DATA{../Data/VASP/NPT_Z_ANIMATE.out})
15
16
set(TestVASPTessellationReader_ARGS DATA{../Data/VASP/NPT_Z_TESSELLATE.out})

Ben Boeckel's avatar
Ben Boeckel committed
17
vtk_add_test_cxx(${vtk-module}CxxTests tests
18
  ${generator_test}
VTK Developers's avatar
VTK Developers committed
19
  TestBallAndStick.cxx
20
  TestPDBBallAndStick.cxx
VTK Developers's avatar
VTK Developers committed
21
22
23
  TestBondColorModeDiscreteByAtom.cxx
  TestBondColorModeSingleColor.cxx
  TestCompositeRender.cxx
24
  TestCustomArrayRadius.cxx
VTK Developers's avatar
VTK Developers committed
25
26
  TestFastRender.cxx
  TestLiquoriceSticks.cxx
27
  TestMolecule.cxx,NO_VALID
28
  TestMoleculeIOLegacy.cxx
29
  TestMoleculeSelection.cxx,NO_VALID
30
  TestMoleculeMapperPropertyUpdate.cxx
VTK Developers's avatar
VTK Developers committed
31
32
  TestMultiCylinderOn.cxx
  TestMultiCylinderOff.cxx
33
34
  TestPeriodicTable.cxx,NO_VALID
  TestProgrammableElectronicData.cxx,NO_VALID
Kyle Lutz's avatar
Kyle Lutz committed
35
  TestProteinRibbon.cxx
36
  TestSimpleBondPerceiver.cxx,NO_VALID
37
  TestVASPAnimationReader.cxx
38
  TestVASPTessellationReader.cxx
VTK Developers's avatar
VTK Developers committed
39
  TestVDWSpheres.cxx
Ben Boeckel's avatar
Ben Boeckel committed
40
41
42
43
  TestCMLMoleculeReader.cxx
  )
vtk_test_cxx_executable(${vtk-module}CxxTests tests
  RENDERING_FACTORY
VTK Developers's avatar
VTK Developers committed
44
  )
45
46
47
48
49
50
51

# On some machines this test takes 260ish seconds to complete, this allows for
# some extra time
if(NOT VTK_TEST_TIMEOUT_TestPDBBallAndStick)
  set(VTK_TEST_TIMEOUT_TestPDBBallAndStick 360)
endif()
set_tests_properties(${vtk-module}Cxx-TestPDBBallAndStick
Shawn Waldon's avatar
Shawn Waldon committed
52
53
    PROPERTIES TIMEOUT ${VTK_TEST_TIMEOUT_TestPDBBallAndStick}
               RUN_SERIAL ON)