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 be25b18 commit 220d65d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
10 changes: 0 additions & 10 deletions tests/cases/nvidia-driver.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
#! /bin/bash
# This test case runs the operator installation / test case with the default options.

echo "SHIVA Number == $#"
echo "SHIVA"
echo "Script name: $0"
i=0
for arg in "$@"; do
echo "KUMAR =$i $arg"
i=$((i + 1))
done
echo "SHIVA"

if [[ $# -le 1 ]]; then
echo "Error: $0 must be called with driver options"
exit 1
Expand Down
4 changes: 3 additions & 1 deletion tests/local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ remote SKIP_PREREQUISITES="${SKIP_PREREQUISITES}" ./tests/scripts/prerequisites.
# We trigger the specified test case on the remote instance.
# Note: We need to ensure that the required environment variables
# are forwarded to the remote shell.
# cmd is for escape characters like space , new lines
cmd=$(printf '%q ' "$@")
remote \
PROJECT="${PROJECT}" \
"$@"
"$cmd"
4 changes: 3 additions & 1 deletion tests/remote-exec-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ source ${SCRIPT_DIR}/.local.sh
${SCRIPT_DIR}/push.sh

# We trigger the specified script on the remote instance.
# cmd is for escape characters like space , new lines
cmd=$(printf '%q ' "$@")
remote \
PROJECT="${PROJECT}" \
"${@}"
"$cmd"

0 comments on commit 220d65d

Please sign in to comment.