NCMP-DMI: Modify CSIT script to have absolute root path env
- change set up to call docker compose for cps-ncmp
- add root as a property in 'test.properties'
- root is specified to be root directory folder for the current
project
Issue-ID: CPS-1472
Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech>
Change-Id: I7648285ab55dd48a934535014953d6f887594742
diff --git a/csit/run-project-csit.sh b/csit/run-project-csit.sh
index 3cbc278..70cc0d9 100755
--- a/csit/run-project-csit.sh
+++ b/csit/run-project-csit.sh
@@ -19,6 +19,7 @@
# $1 test options (passed on to run-csit.sh as such)
export TESTOPTIONS=${1}
+export DMI_PLUGIN_HOME=$(git rev-parse --show-toplevel)
export WORKSPACE=$(git rev-parse --show-toplevel)/csit
rm -rf ${WORKSPACE}/archives