From bc571abfcc51a2965570cb7046a9cb7d0f7ec6a6 Mon Sep 17 00:00:00 2001
From: earplov <arpad.lovassy@ericsson.com>
Date: Mon, 3 Apr 2017 10:50:13 +0200
Subject: [PATCH] fixed executor API test script to run from any directory

Signed-off-by: earplov <arpad.lovassy@ericsson.com>
---
 .../TITAN_Executor_API_test/build_and_run_test.sh               | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/titan_executor_api/TITAN_Executor_API_test/build_and_run_test.sh b/titan_executor_api/TITAN_Executor_API_test/build_and_run_test.sh
index 692b61f61..7eeb6e856 100755
--- a/titan_executor_api/TITAN_Executor_API_test/build_and_run_test.sh
+++ b/titan_executor_api/TITAN_Executor_API_test/build_and_run_test.sh
@@ -80,7 +80,9 @@ file_exist ${JUNIT_FULL}
 file_exist ${HAMCREST_FULL}
 
 # run test (and build its dependencies if needed)
+BASEDIR=${0%/*}
 ant \
+-f $BASEDIR/build.xml \
 -Djunit.full=${JUNIT_FULL} \
 -Dhamcrest.full=${HAMCREST_FULL} \
 TITAN_Executor_API_test
-- 
GitLab