Hopefully fix the test execution reported on CDash.
This eases porting of KDE code.
Reviewed-by: Marcus D. Hanwell <marcus.hanwell@kitware.com>