cmake: Allow execute tests in many directories

Change-Id: Ief4e1c4f62f983a4ca282ad8e21e588b27a7beaf