Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 735
    • Issues 735
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 204
    • Merge requests 204
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #17901

Closed
Open
Created May 19, 2020 by LinGao@spacelg

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:

  1. git clone https://gitlab.kitware.com/vtk/vtk.git F:\gitP\vtk\vtk
  2. Open a VS 2019 x64 command prompt and browse to F:\gitP\vtk\vtk
  3. mkdir build_x64 && pushd build_x64
  4. 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 ..
  5. set VSCMD_SKIP_SENDTELEMETRY=1
  6. msbuild /m /p:Platform=x64 /p:Configuration=Release All_BUILD.vcxproj /t:Rebuild
  7. 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!!!

Assignee
Assign to
Time tracking