CTest: Fix alignment

Fix the alignment of braces and code to align with CTest standards.
Merge topic 'add_delphi_coverage' into next

e32877b0 CTest: Fix alignment