From d8efed90309905f350738fedbc2d30ed9123793d Mon Sep 17 00:00:00 2001 From: shiva kumar Date: Tue, 10 Sep 2024 13:44:36 +0530 Subject: [PATCH] 1. Pre-compiled end-to-end gpu driver validation Signed-off-by: shiva kumar --- tests/remote-exec-local.sh | 12 +++++++++++- tests/scripts/.local.sh | 9 +++++++++ tests/scripts/upgrade-kernel.sh | 8 ++++++-- 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/tests/remote-exec-local.sh b/tests/remote-exec-local.sh index b9316a97..f70a83ff 100755 --- a/tests/remote-exec-local.sh +++ b/tests/remote-exec-local.sh @@ -22,7 +22,17 @@ remote SKIP_PREREQUISITES="${SKIP_PREREQUISITES}" ./tests/scripts/prerequisites. # 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 +# $2 script arguments +echo "SHIVA" + echo "Script name: $0" + i=0 + for arg in "$@"; do + echo "KUMAR =$i $arg" + i=$((i + 1)) + done + echo "SHIVA" + + remote \ PROJECT="${PROJECT}" \ "${@}" diff --git a/tests/scripts/.local.sh b/tests/scripts/.local.sh index f3d98b2f..26b77677 100644 --- a/tests/scripts/.local.sh +++ b/tests/scripts/.local.sh @@ -1,6 +1,15 @@ #!/usr/env bash function remote() { + echo "SHIVA" + echo "Script name: $0" + i=0 + for arg in "$@"; do + echo "KUMAR =$i $arg" + i=$((i + 1)) + done + echo "SHIVA" + ${SCRIPT_DIR}/remote.sh "cd ${PROJECT} && "$@"" } diff --git a/tests/scripts/upgrade-kernel.sh b/tests/scripts/upgrade-kernel.sh index 43c64913..429a205d 100755 --- a/tests/scripts/upgrade-kernel.sh +++ b/tests/scripts/upgrade-kernel.sh @@ -9,11 +9,15 @@ fi SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../scripts && pwd )" source "${SCRIPTS_DIR}"/.definitions.sh +echo "SHIVA" +echo "Script name: $0" i=0 for arg in "$@"; do - echo "SHIVA =$i $arg" - i=$i+1 + echo "KUMAR =$i $arg" + i=$((i + 1)) done +echo "SHIVA" + # export kernel version and Run an end-to-end test cycle export KERNEL_VERSION="$2"