scorpio icon indicating copy to clipboard operation
scorpio copied to clipboard

Allow running tests in parallel

Open jayeshkrishna opened this issue 5 years ago • 0 comments

Allow tests to run in parallel using ctest. The user should be able to run tests in parallel by using,

ctest --parallel <NUMBER_OF_TESTS_TO_RUN_IN_PARALLEL>

Currently only "ctest --parallel 1" works. To enable tests to run in parallel we will need to

  • Make sure that different tests operate on different files
  • Make sure that different tests use different modules (used to store global variables across unit tests within a test)

For now when tests are run in parallel, logging will not be supported (pio log files are always named pio_log_*).

jayeshkrishna avatar May 23 '19 16:05 jayeshkrishna