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:
committed by
Rakesh Roy
parent
7e0296bf7b
commit
1b5f5b05bc
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user