Skip to content

Commit

Permalink
1. Pre-compiled end-to-end gpu driver validation
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <[email protected]>
  • Loading branch information
shivakunv committed Sep 10, 2024
1 parent f9204a2 commit d8efed9
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
12 changes: 11 additions & 1 deletion tests/remote-exec-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
"${@}"
9 changes: 9 additions & 0 deletions tests/scripts/.local.sh
Original file line number Diff line number Diff line change
@@ -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} && "$@""
}

Expand Down
8 changes: 6 additions & 2 deletions tests/scripts/upgrade-kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d8efed9

Please sign in to comment.