mirror of
https://gitee.com/openharmony/startup_init
synced 2024-12-04 17:19:20 +00:00
fix: liteos ut
Signed-off-by: Mupceet <laiguizhong@huawei.com>
This commit is contained in:
parent
aa68a8e43b
commit
dee73b9f05
@ -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" ]
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user