Skip to content
Snippets Groups Projects

Add specialized function to declare pytest tests

Merged Marco Clemencic requested to merge clemenci/Gaudi:pytest-splitting into master
  1. Apr 04, 2023
    • Marco Clemencic's avatar
      Add CMake function gaudi_add_pytest · a659a011
      Marco Clemencic authored
      gaudi_add_pytest is used to declare pytest tests. Each of the test
      files discovered by pytest are mapped to one ctest test, to be able to
      run them in parallel.
      
      Tests are collected when ctest is invoked and/or at build time, and only
      in case changes are detected in scanned files.
      a659a011
Loading