From 656b39646ed9dbe66ab5014c0cdd91f30c04bbec Mon Sep 17 00:00:00 2001 From: Divya Shikre Date: Mon, 29 Nov 2021 12:17:40 -0500 Subject: [PATCH] Update temp_read rsmitst. Check for RSMI_STATUS_INVALID_ARGS when invalid args are passed. Signed-off-by: Divya Shikre Change-Id: I0d5ff84aee5cce4214026ddcd860a17ae3e43147 [ROCm/amdsmi commit: b4fd9c0d9491b41a3d3f8bff65884bfe13b95ccf] --- projects/amdsmi/tests/rocm_smi_test/functional/temp_read.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/amdsmi/tests/rocm_smi_test/functional/temp_read.cc b/projects/amdsmi/tests/rocm_smi_test/functional/temp_read.cc index 859d50399a..8bc17bf013 100755 --- a/projects/amdsmi/tests/rocm_smi_test/functional/temp_read.cc +++ b/projects/amdsmi/tests/rocm_smi_test/functional/temp_read.cc @@ -124,7 +124,7 @@ void TestTempRead::Run(void) { // Verify api support checking functionality is working err = rsmi_dev_temp_metric_get(i, type, met, nullptr); - ASSERT_EQ(err, RSMI_STATUS_NOT_SUPPORTED); + ASSERT_EQ(err, RSMI_STATUS_INVALID_ARGS); return; } else { CHK_ERR_ASRT(err)