From f82307ad60514d1e912a9aa2b64204721fe955eb Mon Sep 17 00:00:00 2001 From: Josh Spicer Date: Tue, 23 Aug 2022 17:23:21 -0400 Subject: test updates to adopt https://github.com/devcontainers/cli/pull/124 (#114) * test updates to adopt https://github.com/devcontainers/cli/pull/124 * remove accidental tgz check in * typo in option * typo in python install script on dotnet6/jammy branch * no scenarios * code review and test name * Delete install_os_provided_python.sh --- test/nvidia-cuda/install_cudnn_nvxt_version.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/nvidia-cuda/install_cudnn_nvxt_version.sh (limited to 'test/nvidia-cuda/install_cudnn_nvxt_version.sh') diff --git a/test/nvidia-cuda/install_cudnn_nvxt_version.sh b/test/nvidia-cuda/install_cudnn_nvxt_version.sh new file mode 100644 index 0000000..a7f46bd --- /dev/null +++ b/test/nvidia-cuda/install_cudnn_nvxt_version.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +# Check installation of libcudnn8 (8.3.2) +check "libcudnn.so.8.3.2" test 1 -eq "$(find /usr -name 'libcudnn.so.8.3.2' | wc -l)" + +# Check installation of cuda-nvtx-11-5 (11.5) +check "cuda-11-5+nvtx" test -e '/usr/local/cuda-11.5/targets/x86_64-linux/include/nvtx3' + +# Report result +reportResults + \ No newline at end of file -- cgit v1.2.3