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
@ -24,10 +24,10 @@ ohos_static_library("libfile_static") {
|
|||||||
sources = service_file_sources
|
sources = service_file_sources
|
||||||
include_dirs = service_file_include
|
include_dirs = service_file_include
|
||||||
deps = [
|
deps = [
|
||||||
"//base/startup/init_lite/services/log:agent_log",
|
"//base/startup/init_lite/services/log:agent_log",
|
||||||
"//base/startup/init_lite/services/utils:libinit_utils",
|
"//base/startup/init_lite/services/utils:libinit_utils",
|
||||||
"//third_party/bounds_checking_function:libsec_static",
|
"//third_party/bounds_checking_function:libsec_static",
|
||||||
]
|
]
|
||||||
part_name = "init"
|
part_name = "init"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -35,10 +35,10 @@ ohos_shared_library("libfile") {
|
|||||||
sources = service_file_sources
|
sources = service_file_sources
|
||||||
include_dirs = service_file_include
|
include_dirs = service_file_include
|
||||||
deps = [
|
deps = [
|
||||||
"//base/startup/init_lite/services/log:agent_log",
|
"//base/startup/init_lite/services/log:agent_log",
|
||||||
"//base/startup/init_lite/services/utils:libinit_utils",
|
"//base/startup/init_lite/services/utils:libinit_utils",
|
||||||
"//third_party/bounds_checking_function:libsec_shared",
|
"//third_party/bounds_checking_function:libsec_shared",
|
||||||
]
|
]
|
||||||
part_name = "init"
|
part_name = "init"
|
||||||
install_images = [ "system" ]
|
install_images = [ "system" ]
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,6 @@ HWTEST_F(SysparaUnitTest, parameterTest001_2, TestSize.Level0)
|
|||||||
EXPECT_STRNE(GetSoftwareModel(), nullptr);
|
EXPECT_STRNE(GetSoftwareModel(), nullptr);
|
||||||
EXPECT_STRNE(GetHardwareModel(), nullptr);
|
EXPECT_STRNE(GetHardwareModel(), nullptr);
|
||||||
EXPECT_STRNE(GetHardwareProfile(), nullptr);
|
EXPECT_STRNE(GetHardwareProfile(), nullptr);
|
||||||
EXPECT_STRNE(GetSerial(), nullptr);
|
|
||||||
EXPECT_STRNE(GetOSFullName(), nullptr);
|
EXPECT_STRNE(GetOSFullName(), nullptr);
|
||||||
EXPECT_STRNE(GetOsReleaseType(), nullptr);
|
EXPECT_STRNE(GetOsReleaseType(), nullptr);
|
||||||
EXPECT_STRNE(GetDisplayVersion(), nullptr);
|
EXPECT_STRNE(GetDisplayVersion(), nullptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user