Squish tip of the week: Integrating Squish Tests with CMake

Squish tip of the week: Integrating Squish Tests with CMake
Nothing beats a real-world example!

Learn how to integrate Squish tests with CMake in the Testing of Qt applications using CMake, CDash and Squish by the example of Pre-Stack PRO, a HPC seismic processing software presentation.

Example script from slide 21
...
add_executable (PreStackPro ${srcs})
...
find_package (Squish 4.0 REQUIRED)

squish_v4_add_test(Squish_FreqFilter
                   AUT PreStackPro SUITE suite_PSPro/
                   TEST ffilter/
                   SETTINGSGROUP CTest_$ENV{LOGNAME})

squish_v4_add_test (Squish_Median ... )

set_tests_properties(Squish_FreqFilter Squish_Median
                     PROPERTIES RESOURCE_LOCK “Squish”)