tests: allow RelWithDebInfo and MinSizeRel configs to work
Merge topic 'dev/fix-complex-tests' into next

7db77a82 tests: allow RelWithDebInfo and MinSizeRel configs to work