SWDEV-465141 - Fix Unit_RTC_LinkAddFile_Negative test failure

This test was failing due to the incorrect return vaulue assumption.

Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: I88a18665a3be221157134f0855a814dba013e293
This commit is contained in:
Sebastian Luzynski
2024-06-04 13:22:38 +00:00
committed by Rakesh Roy
parent 7e0296bf7b
commit 1b5f5b05bc
3 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ TEST_CASE("Unit_RTC_LinkAddFile_Negative") {
SECTION("link add file - incorrect hiprtcLinkState") {
hiprtcLinkState linkstate;
REQUIRE(hiprtcLinkAddFile(linkstate, input_type, file_name, 0, nullptr, nullptr) ==
HIPRTC_ERROR_PROGRAM_CREATION_FAILURE);
HIPRTC_ERROR_INVALID_INPUT);
}
SECTION("link add file - nullptr hiprtcLinkState") {