Skip to content

Commit 8245130

Browse files
committed
[no-relnote] Add toolkit install unit test
This change adds basic toolkit installation unit tests. This required that the source for files be specified when installing to allow for a testdata folder to be used. This replaces the currently unused shell-based tests in /test/container. Signed-off-by: Evan Lezar <[email protected]>
1 parent 5bc0315 commit 8245130

File tree

67 files changed

+3157
-103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+3157
-103
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
dist
2-
artifacts
1+
/dist
2+
/artifacts
33
*.swp
44
*.swo
55
/coverage.out*
@@ -10,4 +10,4 @@ artifacts
1010
/nvidia-container-toolkit
1111
/nvidia-ctk
1212
/shared-*
13-
/release-*
13+
/release-*

test/container/main.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ shopt -s lastpipe
1919
readonly basedir="$(dirname "$(realpath "$0")")"
2020
source "${basedir}/common.sh"
2121

22-
source "${basedir}/toolkit_test.sh"
2322
source "${basedir}/docker_test.sh"
2423
source "${basedir}/crio_test.sh"
2524
source "${basedir}/containerd_test.sh"
@@ -66,7 +65,7 @@ done
6665

6766
trap '"$CLEANUP" && testing::cleanup' ERR
6867

69-
readonly test_cases="${TEST_CASES:-toolkit docker crio containerd}"
68+
readonly test_cases="${TEST_CASES:-docker crio containerd}"
7069

7170
testing::cleanup
7271
for tc in ${test_cases}; do

test/container/toolkit_test.sh

Lines changed: 0 additions & 76 deletions
This file was deleted.
4.83 MB
Binary file not shown.
50.4 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8.52 MB
Binary file not shown.

0 commit comments

Comments
 (0)