From e7cc10c4f05aab4033b6e18c59dbf1d6ef80b646 Mon Sep 17 00:00:00 2001 From: shiva kumar Date: Tue, 10 Sep 2024 13:02:22 +0530 Subject: [PATCH] 1. Pre-compiled end-to-end gpu driver validation Signed-off-by: shiva kumar --- tests/remote-exec-local.sh | 6 ++++-- tests/scripts/.local.sh | 4 ---- tests/scripts/upgrade-kernel.sh | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/tests/remote-exec-local.sh b/tests/remote-exec-local.sh index 4da02ae7..b9316a97 100755 --- a/tests/remote-exec-local.sh +++ b/tests/remote-exec-local.sh @@ -19,8 +19,10 @@ ${SCRIPT_DIR}/push.sh remote SKIP_PREREQUISITES="${SKIP_PREREQUISITES}" ./tests/scripts/prerequisites.sh # We trigger the specified script on the remote instance. -# Note: We need to ensure that the required environment variables -# are forwarded to the remote shell. +# on target $0: cd ${PROJECT} && PROJECT=${PROJECT_DIR} +# $0 can be env , based on that decide the scripts args +# $1 script to be executed +# $2 script arguments remote \ PROJECT="${PROJECT}" \ "${@}" diff --git a/tests/scripts/.local.sh b/tests/scripts/.local.sh index 2c80a023..f3d98b2f 100644 --- a/tests/scripts/.local.sh +++ b/tests/scripts/.local.sh @@ -1,9 +1,5 @@ #!/usr/env bash -# on target $0: cd ${PROJECT} && PROJECT=${PROJECT_DIR} -# $0 can be env , based on that decide the scripts args -# $1 script to be executed -# $2 script arguments function remote() { ${SCRIPT_DIR}/remote.sh "cd ${PROJECT} && "$@"" } diff --git a/tests/scripts/upgrade-kernel.sh b/tests/scripts/upgrade-kernel.sh index da5f132a..a811445c 100755 --- a/tests/scripts/upgrade-kernel.sh +++ b/tests/scripts/upgrade-kernel.sh @@ -10,5 +10,5 @@ SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../scripts && pwd )" source "${SCRIPTS_DIR}"/.definitions.sh # export kernel version and Run an end-to-end test cycle -export KERNEL_VERSION="$$2" +export KERNEL_VERSION="$2" "${SCRIPTS_DIR}"/kernel-upgrade-helper.sh