Test: Gather test execution code in app_broker

This change consolidates all code for tests execution into a single
module named app_broker. The broker creates execution environment for
tests (regression and PSA aPI) requireing the tests implement only
entry functoin: void test_app(void *arg) defined in test_app.h

Signed-off-by: Anton Komlev <anton.komlev@arm.com>
Change-Id: I410f6dd0a635b4b543a25af528195d9365dcf320
diff --git a/app_test_s/config_test.cmake b/app_test_s/config_test.cmake
index b1b3512..33e5a47 100644
--- a/app_test_s/config_test.cmake
+++ b/app_test_s/config_test.cmake
@@ -29,6 +29,6 @@
 # Use local repositories and avoid fetching them on evey clean build.
 # A tempoarl settings to be remove later.
 #-------------------------------------------------------------------------------
-if(EXISTS ${CMAKE_SOURCE_DIR}/localrepos.cmake)
-    include(${CMAKE_SOURCE_DIR}/localrepos.cmake)
+if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/localrepos.cmake)
+    include(${CMAKE_CURRENT_SOURCE_DIR}/localrepos.cmake)
 endif()