fix: liteos ut

Signed-off-by: Mupceet <laiguizhong@huawei.com>
This commit is contained in:
Mupceet 2022-05-05 10:30:33 +08:00
parent aa68a8e43b
commit dee73b9f05
2 changed files with 8 additions and 9 deletions

View File

@ -27,7 +27,7 @@ ohos_static_library("libfile_static") {
"//base/startup/init_lite/services/log:agent_log",
"//base/startup/init_lite/services/utils:libinit_utils",
"//third_party/bounds_checking_function:libsec_static",
]
]
part_name = "init"
}
@ -38,7 +38,7 @@ ohos_shared_library("libfile") {
"//base/startup/init_lite/services/log:agent_log",
"//base/startup/init_lite/services/utils:libinit_utils",
"//third_party/bounds_checking_function:libsec_shared",
]
]
part_name = "init"
install_images = [ "system" ]
}

View File

@ -76,7 +76,6 @@ HWTEST_F(SysparaUnitTest, parameterTest001_2, TestSize.Level0)
EXPECT_STRNE(GetSoftwareModel(), nullptr);
EXPECT_STRNE(GetHardwareModel(), nullptr);
EXPECT_STRNE(GetHardwareProfile(), nullptr);
EXPECT_STRNE(GetSerial(), nullptr);
EXPECT_STRNE(GetOSFullName(), nullptr);
EXPECT_STRNE(GetOsReleaseType(), nullptr);
EXPECT_STRNE(GetDisplayVersion(), nullptr);