From f9204a28657a517ba5f611cec874ba6877aea873 Mon Sep 17 00:00:00 2001 From: shiva kumar Date: Tue, 10 Sep 2024 13:20:03 +0530 Subject: [PATCH] 1. Pre-compiled end-to-end gpu driver validation Signed-off-by: shiva kumar --- .github/workflows/precompiled.yaml | 2 +- tests/scripts/upgrade-kernel.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/precompiled.yaml b/.github/workflows/precompiled.yaml index 7c7eb9ee..be176138 100644 --- a/.github/workflows/precompiled.yaml +++ b/.github/workflows/precompiled.yaml @@ -214,7 +214,7 @@ jobs: UPGRADE_KERNEL_SCRIPT: "./tests/scripts/upgrade-kernel.sh" run: | status=0 - ./tests/ci-remote-exec.sh "${UPGRADE_KERNEL_SCRIPT}" "${KERNEL_VERSION}" || status=$? + ./tests/ci-remote-exec.sh "${UPGRADE_KERNEL_SCRIPT}" \"${KERNEL_VERSION}\" || status=$? # On the target system, all scripts/test-case exit with code 1 for error handling. # However, since reboot-related disconnections break the SSH connection # and can cause the entire job to exit, we should ignore all errors except diff --git a/tests/scripts/upgrade-kernel.sh b/tests/scripts/upgrade-kernel.sh index a811445c..43c64913 100755 --- a/tests/scripts/upgrade-kernel.sh +++ b/tests/scripts/upgrade-kernel.sh @@ -9,6 +9,12 @@ fi SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../scripts && pwd )" source "${SCRIPTS_DIR}"/.definitions.sh +i=0 +for arg in "$@"; do + echo "SHIVA =$i $arg" + i=$i+1 +done + # export kernel version and Run an end-to-end test cycle export KERNEL_VERSION="$2" "${SCRIPTS_DIR}"/kernel-upgrade-helper.sh