Skip to content

Make test organization a bit more consistent

Following discussions in #686 it splits benchmarks from regular tests and rearanges them into the following hierachy:

Tests/
  Benchmarks/
  Examples/
  IntegrationTests/
  UnitTests/

Build flags have also been updated and are now consistently named as

ACTS_BUILD_BENCHMARKS=on
ACTS_BUILD_EXAMPLES=on
ACTS_BUILD_INTEGRATIONTESTS=on
ACTS_BUILD_UNITTESTS=on

All types of tests are handled via project-specific cmake macros. These generate automatically prefixed targets and also setup e.g. the necessary BOOST_TEST... preprocessor macros.

add_benchmark(A A.cpp)       -> ActsBenchmarkA
add_integrationtest(X x.cpp) -> ActsIntegrationTestX
add_unittest(Y y.cpp)        -> ActsUnitTestY

This is preparation for #686. Closes #689 (closed), #692 (closed) (drive-by-fix).

Edited by Moritz Kiehn

Merge request reports