Run test failed due to No tests were found!!!
Environment: Windows Server 2016 + VS2019 VTK master branch da89c022 commit.
When we update the commit to da89c022 and execute our automation script. It can build pass, but failed to run tests due to No tests were found!!! Whether the way to run test has changed? Could you please help take a look at this? Thanks in advance!
Steps to reproduce the behavior:
- git clone https://gitlab.kitware.com/vtk/vtk.git F:\gitP\vtk\vtk
- Open a VS 2019 x64 command prompt and browse to F:\gitP\vtk\vtk
- mkdir build_x64 && pushd build_x64
- cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=ON -DBUILD_EXAMPLES=OFF -DVTK_IGNORE_CMAKE_CXX11_CHECKS=TRUE ..
- set VSCMD_SKIP_SENDTELEMETRY=1
- msbuild /m /p:Platform=x64 /p:Configuration=Release All_BUILD.vcxproj /t:Rebuild
- ctest --build-config Release -E "vtkChartsCoreCxx|vtkCommonDataModelCxx|vtkDomainsChemistryCxx|vtkDomainsChemistryOpenGL2Cxx|vtkFilters|vtkImaging|vtkInfovis|vtkInteractionWidgetsCxx|vtkIOExodusCxx|vtkIOGeometryCxx|vtkIOImageCxx|vtkIOImportCxx|vtkIOExportCxx|vtkIOInfovisCxx|vtkIOLegacyCxx|vtkIOPLYCxx|vtkIOSQLCxx|vtkIOXMLCxx|vtkRendering|vtkViewsInfovisCxx|vtkIOSegYCxx|vtkIOCityGMLCxx-TestCityGMLReader|ViewsInfovisCxx|RenderingVolumeOpenGL2Cxx|RenderingLabelCxx|IOSegYCxx|IOPLYCxx|IOMotionFXCxx|IOImportCxx|IOGeometryCxx|IOExportCxx|IOCityGMLCxx|GeovisCoreCxx|InfovisLayoutCxx|InteractionWidgetsCxx|RenderingVolumeCxx|RenderingAnnotationCxx|RenderingImageCxx|IOExodusCxx|ImagingMorphologicalCxx|ImagingHybridCxx|FiltersProgrammableCxx|FiltersPointsCxx|FiltersHyperTreeCxx|FiltersHybridCxx|FiltersGenericCxx|FiltersFlowPathsCxx|IOXMLCxx|FiltersModelingCxx|IOImageCxx|RenderingOpenGL2Cxx|DomainsChemistryCxx|IOLegacyCxx|ChartsCoreCxx|InfovisCoreCxx|FiltersExtractionCxx|RenderingContext2DCxx|RenderingCoreCxx|FiltersSourcesCxx|ImagingCoreCxx|FiltersGeometryCxx|FiltersGeneralCxx|FiltersCoreCxx|CommonDataModelCxx|RenderingLODCxx-TestLODActor|IOParallelCxx-TestPOpenFOAMReader|FiltersAMRCxx-TestAMRSliceFilterCellData|FiltersAMRCxx-TestAMRSliceFilterPointData|FiltersParallelCxx-TestAngularPeriodicFilter"
Error Message: No tests were found!!!