Merge topic 'fix-gcov-test'

0ccaa7ecb9 Tests: Fix GCOV test in unusual environments

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7580