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 ebc4bb6 commit e7cc10c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 4 additions & 2 deletions tests/remote-exec-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
"${@}"
4 changes: 0 additions & 4 deletions tests/scripts/.local.sh
Original file line number Diff line number Diff line change
@@ -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} && "$@""
}
Expand Down
2 changes: 1 addition & 1 deletion tests/scripts/upgrade-kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e7cc10c

Please sign in to comment.