diff --git a/config/pci.ids b/config/pci.ids index 6eaafa5bbc92dc9d97afdfb35f86a229765d3fd9..253189433ab80fa5673648ca86eb9b05f5e85087 100644 --- a/config/pci.ids +++ b/config/pci.ids @@ -22178,6 +22178,7 @@ 15b3 0069 MCX4121A-ACUT 15b3 009c MCX4121A-ACAT 193d 100a 620F-B + 19e5 d130 SP380 # NIC-ETH540F-LP-2P SFP+ Ethernet Card 193d 1023 NIC-ETH540F-LP-2P 193d 1031 NIC-ETH640i-Mb-2x25G @@ -22194,6 +22195,7 @@ 15b3 0121 MCX512A-ACUT 15b3 0160 MCX515A-CCUT 193d 1051 NIC-IB1040i-Mb-2P + 19e5 d120 SP350 19e5 d126 SP351 19e5 d135 SP382 1018 MT27800 Family [ConnectX-5 Virtual Function] diff --git a/hwcompatible/job.py b/hwcompatible/job.py index 0dee24ca565d07d9636ba324ced497d047fcbd75..26b04d623c5d3003c015f3d2830dcb9b1c66b019 100755 --- a/hwcompatible/job.py +++ b/hwcompatible/job.py @@ -108,6 +108,9 @@ class Job(): if testcase["name"] not in NODEVICE: cert_infos.create_json(testcase["name"], testcase["device"]) else: + if testcase["name"] not in NODEVICE: + cert_infos.create_json(testcase["name"], testcase["device"]) + testcase["status"] = "FAIL" self.logger.error("Test %s failed." % testcase["name"], terminal_print=False) diff --git a/tests/compatible/gpu/test_nvidia_gpu.sh b/tests/compatible/gpu/test_nvidia_gpu.sh index db5c5a28a7079c7f8190cb8583285d029f9dff90..57429d0fc42247867285696d4cd3c4afb547b217 100644 --- a/tests/compatible/gpu/test_nvidia_gpu.sh +++ b/tests/compatible/gpu/test_nvidia_gpu.sh @@ -13,7 +13,7 @@ # Desc: Shell script used for testing nvidia gpu cuda_version=$(nvidia-smi -q | grep "CUDA Version" | awk '{print $4}') -cuda_name="cuda-samples-${cuda_version}" +cuda_name=$(ls /opt | grep cuda-samples) function install_clpeak() { cd /opt @@ -61,11 +61,12 @@ function install_gpu_burn() { function install_cuda_samples() { cd /opt - if [ ! -d ${cuda_name} ]; then + if [ -z ${cuda_name} ]; then wget https://github.com/NVIDIA/cuda-samples/archive/refs/tags/v${cuda_version}.zip unzip v${cuda_version}.zip >/dev/null rm -rf v${cuda_version}.zip fi + cuda_name=$(ls /opt | grep cuda-samples) return 0 }