summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@arm.com>2019-02-26 19:11:54 +0530
committerThomas Abraham <thomas.abraham@arm.com>2019-02-26 19:20:08 +0530
commit65982e82b15f1c14df702a15ca0823b2d34b8ca4 (patch)
tree3fd902de3b072d8e55b653a58019de6038d7dea0
parent053ff395e8b10f2159a833d297fd286802485f01 (diff)
sgi/tests: update access path to sgi_common_util.sh from test scripts
The test scripts under sgi/ directory will be used by other platforms as well. To allow access to sgi_common_util.sh from test scripts when tests are invoked from platforms other than sgi/, update the path to the sgi_common_util.sh script in each of the supported tests. Change-Id: I3a724aeee77106f8b4692a46df9e1ec882fe9424 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
-rwxr-xr-xsgi/acs.sh2
-rwxr-xr-xsgi/boot.sh2
-rwxr-xr-xsgi/distro.sh2
-rwxr-xr-xsgi/kvm.sh2
-rwxr-xr-xsgi/ras.sh2
-rwxr-xr-xsgi/sct.sh2
-rwxr-xr-xsgi/secure_boot.sh2
-rwxr-xr-xsgi/tftf.sh2
8 files changed, 9 insertions, 7 deletions
diff --git a/sgi/acs.sh b/sgi/acs.sh
index 274f2be..7eb8351 100755
--- a/sgi/acs.sh
+++ b/sgi/acs.sh
@@ -30,7 +30,7 @@
# POSSIBILITY OF SUCH DAMAGE.
#################################################################################
-source sgi_common_util.sh
+source $PWD/../sgi/sgi_common_util.sh
declare -A sgi_platforms
sgi_platforms[sgi575]=1
diff --git a/sgi/boot.sh b/sgi/boot.sh
index 8ae71d6..5ddb742 100755
--- a/sgi/boot.sh
+++ b/sgi/boot.sh
@@ -31,7 +31,7 @@
platform_dir=""
-source sgi_common_util.sh
+source $PWD/../sgi/sgi_common_util.sh
declare -A sgi_platforms
sgi_platforms[sgi575]=1
diff --git a/sgi/distro.sh b/sgi/distro.sh
index b12925a..a5e0bec 100755
--- a/sgi/distro.sh
+++ b/sgi/distro.sh
@@ -29,6 +29,8 @@
# POSSIBILITY OF SUCH DAMAGE.
#################################################################################
+source $PWD/../sgi/sgi_common_util.sh
+
installer_image=""
disk_size=""
mode=""
diff --git a/sgi/kvm.sh b/sgi/kvm.sh
index e88e8b4..3a8f40e 100755
--- a/sgi/kvm.sh
+++ b/sgi/kvm.sh
@@ -39,7 +39,7 @@ RUNDIR=$(pwd)
IP="10.0.2.16" # defualt IP
RC_ERROR=1
-source sgi_common_util.sh
+source $PWD/../sgi/sgi_common_util.sh
HOST_OS_LOG_FILE=kvm_test_host_os_${MYPID}_$CURRENT_DATE_TIME.log
GUEST_OS0_BOOT_LOG=kvm_test_guest_os0_${MYPID}_$CURRENT_DATE_TIME.log
diff --git a/sgi/ras.sh b/sgi/ras.sh
index 78838b8..ceb7d2f 100755
--- a/sgi/ras.sh
+++ b/sgi/ras.sh
@@ -43,7 +43,7 @@ RESULT_LOG_FILE1=ras_test.log
RESULT_LOG_FILE2=ras_mm_test.log
RESULT_FILE=ras_test_result.log
-source sgi_common_util.sh
+source $PWD/../sgi/sgi_common_util.sh
declare -A sgi_platforms
sgi_platforms[sgi575]=1
diff --git a/sgi/sct.sh b/sgi/sct.sh
index 4dbd23b..43f9a0c 100755
--- a/sgi/sct.sh
+++ b/sgi/sct.sh
@@ -30,7 +30,7 @@
# POSSIBILITY OF SUCH DAMAGE.
#################################################################################
-source sgi_common_util.sh
+source $PWD/../sgi/sgi_common_util.sh
declare -A sgi_platforms
sgi_platforms[sgi575]=1
diff --git a/sgi/secure_boot.sh b/sgi/secure_boot.sh
index f5ba1dc..eff07d2 100755
--- a/sgi/secure_boot.sh
+++ b/sgi/secure_boot.sh
@@ -31,7 +31,7 @@
platform_dir=""
-source sgi_common_util.sh
+source $PWD/../sgi/sgi_common_util.sh
declare -A sgi_platforms
sgi_platforms[sgi575]=1
diff --git a/sgi/tftf.sh b/sgi/tftf.sh
index 9bb5fc5..a13eb01 100755
--- a/sgi/tftf.sh
+++ b/sgi/tftf.sh
@@ -31,7 +31,7 @@
platform_dir=""
-source sgi_common_util.sh
+source $PWD/../sgi/sgi_common_util.sh
declare -A sgi_platforms
sgi_platforms[sgi575]=1