Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Michael Migliore
VTK
Commits
94673bd2
Commit
94673bd2
authored
Dec 20, 2017
by
Ben Boeckel
Browse files
testing: use the module name in test module cmake code
parent
f35e9715
Changes
117
Hide whitespace changes
Inline
Side-by-side
Accelerators/Vtkm/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
AcceleratorsVtkm
CxxTests tests
TestVTKMCleanGrid.cxx
TestVTKMClip.cxx
TestVTKMClipWithImplicitFunction.cxx
...
...
@@ -14,6 +14,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestVTKMThreshold2.cxx
TestVTKMTriangleMeshPointNormals.cxx
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
vtk_test_cxx_executable
(
vtk
AcceleratorsVtkm
CxxTests tests
RENDERING_FACTORY
)
Charts/Core/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
...
...
@@ -36,7 +36,7 @@ set(TestParallelCoordinatesDouble_ARGS
-E 15
)
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
ChartsCore
CxxTests tests
TestContextScene.cxx,NO_DATA,NO_VALID
TestControlPointsItem.cxx,NO_DATA,NO_VALID
TestControlPointsItemEvents.cxx,NO_DATA,NO_VALID
...
...
@@ -101,6 +101,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestSurfacePlot.cxx
TestZoomAxis.cxx
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
vtk_test_cxx_executable
(
vtk
ChartsCore
CxxTests tests
RENDERING_FACTORY
)
Common/Color/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
CommonColor
CxxTests tests
TestCategoricalColors.cxx,NO_VALID
TestColorSeries.cxx
TestColorSeriesLookupTables.cxx,NO_VALID
TestNamedColors.cxx,NO_VALID
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
)
vtk_test_cxx_executable
(
vtk
CommonColor
CxxTests tests
)
Common/ComputationalGeometry/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
CommonComputationalGeometry
CxxTests tests
NO_DATA NO_VALID NO_OUTPUT
UnitTestParametricSpline.cxx
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
)
vtk_test_cxx_executable
(
vtk
CommonComputationalGeometry
CxxTests tests
)
Common/Core/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
...
...
@@ -77,7 +77,7 @@ set(TestSystemInformation_ARGS ${CMAKE_BINARY_DIR})
# Tell TestXMLFileOutputWindow where to write test file
set
(
TestXMLFileOutputWindow_ARGS
${
CMAKE_BINARY_DIR
}
/Testing/Temporary/XMLFileOutputWindow.txt
)
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
CommonCore
CxxTests tests
NO_DATA NO_VALID NO_OUTPUT
UnitTestMath.cxx
TestArrayAPI.cxx
...
...
@@ -141,6 +141,6 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
${
data_array_tests
}
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
vtk_test_cxx_executable
(
vtk
CommonCore
CxxTests tests
vtkTestNewVar.cxx
)
Common/DataModel/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
CommonDataModel
CxxTests tests
NO_DATA NO_VALID NO_OUTPUT
LagrangeHexahedron.cxx
TestAngularPeriodicDataArray.cxx
...
...
@@ -70,7 +70,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
UnitTestPlanesIntersection.cxx
UnitTestTriangleIntersection.cxx
)
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests data_tests
vtk_add_test_cxx
(
vtk
CommonDataModel
CxxTests data_tests
TestLagrangeTriangle.cxx
TestLagrangeTetra.cxx
quadraticIntersection.cxx
...
...
@@ -85,12 +85,12 @@ vtk_add_test_cxx(${vtk-module}CxxTests data_tests
# add to the list but don't define a test
list
(
APPEND data_tests TestPolyhedron2.cxx
)
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests output_tests
vtk_add_test_cxx
(
vtk
CommonDataModel
CxxTests output_tests
TestKdTreeRepresentation.cxx,NO_DATA
)
ExternalData_add_test
(
VTKData
NAME TestPolyhedron2
COMMAND
${
vtk
-module
}
CxxTests TestPolyhedron2
COMMAND vtk
CommonDataModel
CxxTests TestPolyhedron2
-D DATA{../Data/polyhedron_mesh.vtu}
)
set
(
all_tests
...
...
@@ -99,4 +99,4 @@ set(all_tests
${
output_tests
}
${
custom_tests
}
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests all_tests
)
vtk_test_cxx_executable
(
vtk
CommonDataModel
CxxTests all_tests
)
Common/ExecutionModel/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
CommonExecutionModel
CxxTests tests
NO_DATA NO_VALID
TestCopyAttributeData.cxx
TestImageDataToStructuredGrid.cxx
...
...
@@ -9,4 +9,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestTrivialConsumer.cxx
UnitTestSimpleScalarTree.cxx
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
)
vtk_test_cxx_executable
(
vtk
CommonExecutionModel
CxxTests tests
)
Common/Math/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
CommonMath
CxxTests tests
NO_DATA NO_VALID NO_OUTPUT
TestAmoebaMinimizer.cxx
TestMatrix3x3.cxx
TestPolynomialSolversUnivariate.cxx
TestQuaternion.cxx
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
)
vtk_test_cxx_executable
(
vtk
CommonMath
CxxTests tests
)
Common/Misc/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
CommonMisc
CxxTests tests
NO_DATA NO_VALID NO_OUTPUT
TestPolygonBuilder.cxx
TestPolygonBuilder2.cxx
...
...
@@ -8,4 +8,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestPolygonBuilder5.cxx
UnitTestFunctionParser.cxx
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
)
vtk_test_cxx_executable
(
vtk
CommonMisc
CxxTests tests
)
Common/System/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
CommonSystem
CxxTests tests
NO_DATA NO_VALID NO_OUTPUT
TestDirectory.cxx
otherTimerLog.cxx
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
)
vtk_test_cxx_executable
(
vtk
CommonSystem
CxxTests tests
)
Common/Transforms/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
CommonTransforms
CxxTests tests
NO_DATA NO_VALID NO_OUTPUT
TestTransform.cxx
TestLandmarkTransform.cxx
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
)
vtk_test_cxx_executable
(
vtk
CommonTransforms
CxxTests tests
)
Domains/Chemistry/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
...
...
@@ -14,7 +14,7 @@ endif()
set
(
TestVASPAnimationReader_ARGS DATA{../Data/VASP/NPT_Z_ANIMATE.out}
)
set
(
TestVASPTessellationReader_ARGS DATA{../Data/VASP/NPT_Z_TESSELLATE.out}
)
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
DomainsChemistry
CxxTests tests
${
generator_test
}
TestBallAndStick.cxx
TestPDBBallAndStick.cxx
...
...
@@ -39,7 +39,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestVDWSpheres.cxx
TestCMLMoleculeReader.cxx
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
vtk_test_cxx_executable
(
vtk
DomainsChemistry
CxxTests tests
RENDERING_FACTORY
)
...
...
@@ -48,6 +48,6 @@ vtk_test_cxx_executable(${vtk-module}CxxTests tests
if
(
NOT VTK_TEST_TIMEOUT_TestPDBBallAndStick
)
set
(
VTK_TEST_TIMEOUT_TestPDBBallAndStick 360
)
endif
()
set_tests_properties
(
${
vtk
-module
}
Cxx-TestPDBBallAndStick
set_tests_properties
(
vtk
DomainsChemistry
Cxx-TestPDBBallAndStick
PROPERTIES TIMEOUT
${
VTK_TEST_TIMEOUT_TestPDBBallAndStick
}
RUN_SERIAL ON
)
Domains/ChemistryOpenGL2/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
DomainsChemistryOpenGL2
CxxTests tests
TestPDBBallAndStickShadows.cxx
TestPDBBallAndStickShadowsDOFSSAA.cxx
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
vtk_test_cxx_executable
(
vtk
DomainsChemistryOpenGL2
CxxTests tests
RENDERING_FACTORY
)
...
...
@@ -11,6 +11,6 @@ vtk_test_cxx_executable(${vtk-module}CxxTests tests
if
(
NOT VTK_TEST_TIMEOUT_TestPDBBallAndStickShadows
)
set
(
VTK_TEST_TIMEOUT_TestPDBBallAndStickShadows 360
)
endif
()
set_tests_properties
(
${
vtk
-module
}
Cxx-TestPDBBallAndStickShadows
set_tests_properties
(
vtk
DomainsChemistryOpenGL2
Cxx-TestPDBBallAndStickShadows
PROPERTIES TIMEOUT
${
VTK_TEST_TIMEOUT_TestPDBBallAndStickShadows
}
RUN_SERIAL ON
)
Domains/Microscopy/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
# OpenSlideReader Tests
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
DomainsMicroscopy
CxxTests tests
TestOpenSlideReader.cxx
"DATA{
${
VTK_TEST_INPUT_DIR
}
/Microscopy/small2.ndpi}"
)
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
DomainsMicroscopy
CxxTests tests
TestOpenSlideReaderPartialTIF,TestOpenSlideReaderPartial.cxx
"DATA{
${
VTK_TEST_INPUT_DIR
}
/Microscopy/pathology.tif}"
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests RENDERING_FACTORY
)
vtk_test_cxx_executable
(
vtk
DomainsMicroscopy
CxxTests tests RENDERING_FACTORY
)
Filters/AMR/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
...
...
@@ -10,14 +10,14 @@ foreach(test IN LISTS cxx_tests)
${
test
}
.cxx
)
endforeach
()
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
FiltersAMR
CxxTests tests
NO_VALID NO_OUTPUT
${
test_files
}
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
)
vtk_test_cxx_executable
(
vtk
FiltersAMR
CxxTests tests
)
foreach
(
test IN LISTS cxx_tests
)
set_tests_properties
(
${
vtk
-module
}
Cxx-
${
test
}
set_tests_properties
(
vtk
FiltersAMR
Cxx-
${
test
}
PROPERTIES
FAIL_REGULAR_EXPRESSION
"Error"
)
...
...
Filters/AMR/Testing/Python/CMakeLists.txt
View file @
94673bd2
...
...
@@ -14,7 +14,7 @@ if(VTK_PYTHON_EXE)
${
test_files
}
)
foreach
(
test IN LISTS python_tests
)
set_tests_properties
(
${
vtk
-module
}
Python-
${
test
}
set_tests_properties
(
vtk
FiltersAMR
Python-
${
test
}
PROPERTIES
FAIL_REGULAR_EXPRESSION
"Error"
)
...
...
Filters/Core/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
FiltersCore
CxxTests tests
TestAppendArcLength.cxx,NO_VALID
TestAppendFilter.cxx,NO_VALID
TestAppendPolyData.cxx,NO_VALID
...
...
@@ -50,4 +50,4 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
UnitTestMergeFilter.cxx,NO_VALID
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
)
vtk_test_cxx_executable
(
vtk
FiltersCore
CxxTests tests
)
Filters/Extraction/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
FiltersExtraction
CxxTests tests
TestConvertSelection.cxx,NO_VALID
TestExtractSelection.cxx
TestExtraction.cxx
TestExtractRectilinearGrid.cxx,NO_VALID,NO_DATA
TestExtractTimeSteps.cxx,NO_VALID
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
)
vtk_test_cxx_executable
(
vtk
FiltersExtraction
CxxTests tests
)
Filters/FlowPaths/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
FiltersFlowPaths
CxxTests tests
TestBSPTree.cxx
TestEvenlySpacedStreamlines2D.cxx
TestStreamTracer.cxx,NO_VALID
...
...
@@ -9,7 +9,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
TestLagrangianParticle.cxx,NO_VALID
TestLagrangianParticleTracker.cxx
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests tests
vtk_test_cxx_executable
(
vtk
FiltersFlowPaths
CxxTests tests
RENDERING_FACTORY
)
ExternalData_Expand_Arguments
(
VTKData _
...
...
Filters/General/Testing/Cxx/CMakeLists.txt
View file @
94673bd2
...
...
@@ -2,7 +2,7 @@ set(TestDensifyPolyData_ARGS -E 15)
set
(
TestDataSetGradient_ARGS -E 25
)
set
(
TestDataSetGradientPrecompute_ARGS -E 25
)
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests tests
vtk_add_test_cxx
(
vtk
FiltersGeneral
CxxTests tests
ArrayExtractFactoredArray.cxx,NO_VALID
ArrayMatricizeArray.cxx,NO_VALID
ArrayNormalizeMatrixVectors.cxx,NO_VALID
...
...
@@ -42,7 +42,7 @@ vtk_add_test_cxx(${vtk-module}CxxTests tests
UnitTestMultiThreshold.cxx,NO_VALID
)
# Tests with data
vtk_add_test_cxx
(
${
vtk
-module
}
CxxTests data_tests
vtk_add_test_cxx
(
vtk
FiltersGeneral
CxxTests data_tests
BoxClipPointData.cxx
BoxClipOrientedPointData.cxx
TestDataSetGradient.cxx
...
...
@@ -58,12 +58,12 @@ set(all_tests
${
data_tests
}
)
vtk_test_cxx_executable
(
${
vtk
-module
}
CxxTests all_tests
vtk_test_cxx_executable
(
vtk
FiltersGeneral
CxxTests all_tests
RENDERING_FACTORY
)
# On some machines this test takes some extra time
if
(
NOT VTK_TEST_TIMEOUT_TestYoungsMaterialInterface
)
set
(
VTK_TEST_TIMEOUT_TestYoungsMaterialInterface 300
)
endif
()
set_tests_properties
(
${
vtk
-module
}
Cxx-TestYoungsMaterialInterface
set_tests_properties
(
vtk
FiltersGeneral
Cxx-TestYoungsMaterialInterface
PROPERTIES TIMEOUT
${
VTK_TEST_TIMEOUT_TestYoungsMaterialInterface
}
)
Prev
1
2
3
4
5
6
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment