UEC is not static on real device, so check its range intead of specific value

Change-Id: If165935ce639bac439af21f23b741ab2fa999bb9
bug:285561687
test: manaul
This commit is contained in:
Henry Fang
2023-06-02 17:15:08 +00:00
parent 3323c87bfa
commit c2794f8c26
2 changed files with 2 additions and 2 deletions

View File

@@ -379,7 +379,7 @@ void FrontendTests::verifyFrontendStatusExt1_1(vector<FrontendStatusTypeExt1_1>
break;
}
case FrontendStatusTypeExt1_1::UEC: {
ASSERT_TRUE(realStatuses[i].uec() == expectStatuses[i].uec());
ASSERT_TRUE(realStatuses[i].uec() >= 0 );
break;
}
case FrontendStatusTypeExt1_1::T2_SYSTEM_ID: {

View File

@@ -86,7 +86,7 @@ inline void initFrontendConfig() {
types.push_back(FrontendStatusTypeExt1_1::IS_MISO);
vector<FrontendStatusExt1_1> statuses;
FrontendStatusExt1_1 status;
status.uec(4);
status.uec(0);
statuses.push_back(status);
status.isMiso(true);
statuses.push_back(status);