Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
b985addb
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
b985addb
编写于
2月 21, 2023
作者:
范
范晓兵
提交者:
Gitee
2月 21, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
【xts_acts】【monthly_20221018】检查iccarm编译器
Signed-off-by:
N
范晓兵
<
fanxiaobing2@huawei.com
>
上级
791c7e88
变更
17
隐藏空白更改
内联
并排
Showing
17 changed file
with
23 addition
and
40 deletion
+23
-40
ability_lite/ability_hal/BUILD.gn
ability_lite/ability_hal/BUILD.gn
+1
-3
ability_lite/ability_hal/src/ability_mgr_test.c
ability_lite/ability_hal/src/ability_mgr_test.c
+1
-1
appexecfwk_lite/appexecfwk_hal/BUILD.gn
appexecfwk_lite/appexecfwk_hal/BUILD.gn
+1
-3
build_lite/BUILD.gn
build_lite/BUILD.gn
+1
-1
commonlibrary_lite/file_hal/BUILD.gn
commonlibrary_lite/file_hal/BUILD.gn
+1
-3
communication_lite/dsoftbus_hal/BUILD.gn
communication_lite/dsoftbus_hal/BUILD.gn
+1
-3
distributed_schedule_lite/system_ability_manager_hal/BUILD.gn
...ributed_schedule_lite/system_ability_manager_hal/BUILD.gn
+1
-3
distributed_schedule_lite/system_ability_manager_hal/src/broadcast_subscribe_func_test.c
...m_ability_manager_hal/src/broadcast_subscribe_func_test.c
+4
-0
hiviewdfx_lite/hievent_hal/BUILD.gn
hiviewdfx_lite/hievent_hal/BUILD.gn
+1
-3
hiviewdfx_lite/hievent_hal/src/hievent_lite_test.c
hiviewdfx_lite/hievent_hal/src/hievent_lite_test.c
+3
-4
hiviewdfx_lite/hilog_hal/BUILD.gn
hiviewdfx_lite/hilog_hal/BUILD.gn
+1
-3
security_lite/huks/liteos_m_adapter/hks_mac_test.c
security_lite/huks/liteos_m_adapter/hks_mac_test.c
+1
-1
startup_lite/bootstrap_hal/BUILD.gn
startup_lite/bootstrap_hal/BUILD.gn
+1
-3
startup_lite/syspara_hal/BUILD.gn
startup_lite/syspara_hal/BUILD.gn
+1
-3
startup_lite/syspara_hal/src/parameter_reli_test.c
startup_lite/syspara_hal/src/parameter_reli_test.c
+2
-2
startup_lite/syspara_hal/src/parameter_utils.c
startup_lite/syspara_hal/src/parameter_utils.c
+1
-1
update_lite/dupdate_hal/BUILD.gn
update_lite/dupdate_hal/BUILD.gn
+1
-3
未找到文件。
ability_lite/ability_hal/BUILD.gn
浏览文件 @
b985addb
...
...
@@ -21,7 +21,5 @@ hctest_suite("ActsAbilityMgrTest") {
"${aafwk_lite_path}/interfaces/kits/ability_lite",
"${appexecfwk_lite_path}/interfaces/kits/bundle_lite",
]
if (board_toolchain_type != "iccarm") {
cflags = [ "-Wno-error" ]
}
cflags = [ "-Wno-error" ]
}
ability_lite/ability_hal/src/ability_mgr_test.c
浏览文件 @
b985addb
...
...
@@ -22,7 +22,7 @@
#include "hctest.h"
#include "ohos_types.h"
#include "
slite/
ability_manager.h"
#include "ability_manager.h"
#include "ability_errors.h"
#include "want.h"
...
...
appexecfwk_lite/appexecfwk_hal/BUILD.gn
浏览文件 @
b985addb
...
...
@@ -23,7 +23,5 @@ hctest_suite("ActsBundleMgrTest") {
"${appexecfwk_lite_path}/utils/bundle_lite",
"//commonlibrary/utils_lite/memory/include",
]
if (board_toolchain_type != "iccarm") {
cflags = [ "-Wno-error" ]
}
cflags = [ "-Wno-error" ]
}
build_lite/BUILD.gn
浏览文件 @
b985addb
...
...
@@ -103,7 +103,7 @@ lite_component("acts_component") {
if (ohos_build_type == "debug" && ohos_test_args != "notest") {
_all_features = ""
_product_json = rebase_path("${product_
config_
path}/config.json")
_product_json = rebase_path("${product_path}/config.json")
foreach(one_feature, all_features) {
_all_features = _all_features + one_feature + ","
}
...
...
commonlibrary_lite/file_hal/BUILD.gn
浏览文件 @
b985addb
...
...
@@ -24,7 +24,5 @@ hctest_suite("ActsUtilsFileTest") {
"src",
"//commonlibrary/utils_lite/include",
]
if (board_toolchain_type != "iccarm") {
cflags = [ "-Wno-error" ]
}
cflags = [ "-Wno-error" ]
}
communication_lite/dsoftbus_hal/BUILD.gn
浏览文件 @
b985addb
...
...
@@ -30,7 +30,5 @@ hctest_suite("ActsDsoftbusMgrTest") {
"//foundation/communication/dsoftbus/adapter/common/include",
"//foundation/communication/dsoftbus/adapter/default_config/spec_config",
]
if (board_toolchain_type != "iccarm") {
cflags = [ "-Wno-error" ]
}
cflags = [ "-Wno-error" ]
}
distributed_schedule_lite/system_ability_manager_hal/BUILD.gn
浏览文件 @
b985addb
...
...
@@ -50,7 +50,5 @@ hctest_suite("ActsSamgrTest") {
[ "//foundation/systemabilitymgr/samgr_lite/samgr/adapter:samgr_adapter" ]
defines = [ "UNITY_INCLUDE_CONFIG_H" ]
if (board_toolchain_type != "iccarm") {
cflags = [ "-Wno-error" ]
}
cflags = [ "-Wno-error" ]
}
distributed_schedule_lite/system_ability_manager_hal/src/broadcast_subscribe_func_test.c
浏览文件 @
b985addb
...
...
@@ -219,6 +219,10 @@ LITE_TEST_CASE(Broadcast01TestSuite, testSubscribe0020, Function | MediumTest |
subscriber
->
AddTopic
((
IUnknown
*
)
fapi
,
&
topic0
);
int
result
=
subscriber
->
Subscribe
((
IUnknown
*
)
fapi
,
NULL
,
&
c1
);
TEST_ASSERT_EQUAL_INT
(
result
!=
0
,
TRUE
);
Topic
noExistTopic
=
-
200
;
result
=
subscriber
->
Subscribe
((
IUnknown
*
)
fapi
,
&
noExistTopic
,
&
c1
);
TEST_ASSERT_EQUAL_INT
(
result
!=
0
,
TRUE
);
CASE_ReleaseIUnknown
(
fapi
);
}
...
...
hiviewdfx_lite/hievent_hal/BUILD.gn
浏览文件 @
b985addb
...
...
@@ -21,7 +21,5 @@ hctest_suite("ActsHieventLiteTest") {
"//base/hiviewdfx/hievent_lite/interfaces/native/innerkits",
]
if (board_toolchain_type != "iccarm") {
cflags = [ "-Wno-error" ]
}
cflags = [ "-Wno-error" ]
}
hiviewdfx_lite/hievent_hal/src/hievent_lite_test.c
浏览文件 @
b985addb
...
...
@@ -53,12 +53,11 @@ static BOOL HieventLiteTestSuiteTearDown(void)
* @param : module name is hievet_lite
* @param : test suit name is HieventLiteTest
*/
static
int
HieventLiteTestOutputFunc
(
uint8
*
data
)
static
HieventProc
HieventLiteTestOutputFunc
(
uint8
*
data
)
{
HiEvent
*
e
=
(
HiEvent
*
)
data
;
TEST_ASSERT_EQUAL_INT
(
HIEVENT_TEST_ID
,
e
->
common
.
eventId
);
return
0
;
}
/**
...
...
@@ -102,7 +101,7 @@ LITE_TEST_CASE(HieventLiteTestSuite, HieventLiteFuncTest003, Level1)
{
HiEvent
*
e
=
HiEventCreate
(
HIEVENT_FAULT
,
HIEVENT_TEST_ID
,
3
);
HiEventRegisterProc
(
(
HieventProc
)
HieventLiteTestOutputFunc
);
HiEventRegisterProc
(
HieventLiteTestOutputFunc
);
TEST_ASSERT_NOT_NULL
(
e
);
...
...
@@ -112,7 +111,7 @@ LITE_TEST_CASE(HieventLiteTestSuite, HieventLiteFuncTest003, Level1)
HiEventReport
(
e
);
HiEventFlush
(
TRUE
);
HiEventUnRegisterProc
(
(
HieventProc
)
HieventLiteTestOutputFunc
);
HiEventUnRegisterProc
(
HieventLiteTestOutputFunc
);
};
/**
...
...
hiviewdfx_lite/hilog_hal/BUILD.gn
浏览文件 @
b985addb
...
...
@@ -26,7 +26,5 @@ hctest_suite("ActsDfxFuncTest") {
"//vendor/hisi/hi3861/hi3861/components/lwip_sack/include",
]
if (board_toolchain_type != "iccarm") {
cflags = [ "-Wno-error" ]
}
cflags = [ "-Wno-error" ]
}
security_lite/huks/liteos_m_adapter/hks_mac_test.c
浏览文件 @
b985addb
...
...
@@ -168,7 +168,7 @@ static int32_t BaseTestMac(uint32_t index)
g_testMacParams
[
index
].
keyParams
.
blobDataSize
);
}
else
{
if
(
g_testMacParams
[
index
].
keyAliasParams
.
blobExist
)
{
ret
=
Huks
GenerateKey
(
&
key
,
&
(
g_testMacParams
[
index
].
keyAliasParams
),
ret
=
GenerateKey
(
&
key
,
&
(
g_testMacParams
[
index
].
keyAliasParams
),
&
g_testMacParams
[
index
].
genKeyParamSetParams
,
NULL
);
}
else
{
ret
=
TestConstuctBlob
(
&
key
,
...
...
startup_lite/bootstrap_hal/BUILD.gn
浏览文件 @
b985addb
...
...
@@ -21,7 +21,5 @@ hctest_suite("ActsBootstrapTest") {
"src",
"//commonlibrary/utils_lite/include",
]
if (board_toolchain_type != "iccarm") {
cflags = [ "-Wno-error" ]
}
cflags = [ "-Wno-error" ]
}
startup_lite/syspara_hal/BUILD.gn
浏览文件 @
b985addb
...
...
@@ -26,7 +26,5 @@ hctest_suite("ActsParameterTest") {
"src",
"///base/startup/init/interfaces/innerkits/include/syspara",
]
if (board_toolchain_type != "iccarm") {
cflags = [ "-Wno-error" ]
}
cflags = [ "-Wno-error" ]
}
startup_lite/syspara_hal/src/parameter_reli_test.c
浏览文件 @
b985addb
...
...
@@ -299,7 +299,7 @@ LITE_TEST_CASE(ParameterReliTestSuite,
testObtainSysParaReli015
,
Function
|
MediumTest
|
Level1
)
{
int
value1
=
GetFirstApiVersion
();
TEST_ASSERT_NOT_NULL
(
&
value1
);
TEST_ASSERT_NOT_NULL
(
value1
);
TEST_ASSERT_TRUE
((
int
)
value1
==
value1
);
for
(
int
i
=
0
;
i
<
QUERY_TIMES
;
i
++
)
{
int
value
=
GetFirstApiVersion
();
...
...
@@ -453,7 +453,7 @@ LITE_TEST_CASE(ParameterReliTestSuite,
testObtainSysParaReli024
,
Function
|
MediumTest
|
Level1
)
{
int
value1
=
GetSdkApiVersion
();
TEST_ASSERT_NOT_NULL
(
&
value1
);
TEST_ASSERT_NOT_NULL
(
value1
);
TEST_ASSERT_TRUE
((
int
)
value1
==
value1
);
for
(
int
i
=
0
;
i
<
QUERY_TIMES
;
i
++
)
{
int
value
=
GetSdkApiVersion
();
...
...
startup_lite/syspara_hal/src/parameter_utils.c
浏览文件 @
b985addb
...
...
@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <string.h>
#include "hctest.h"
#include "parameter_utils.h"
...
...
update_lite/dupdate_hal/BUILD.gn
浏览文件 @
b985addb
...
...
@@ -21,7 +21,5 @@ hctest_suite("ActsUpdaterFuncTest") {
"//base/update/ota_lite/interfaces/kits",
]
if (board_toolchain_type != "iccarm") {
cflags = [ "-Wno-error" ]
}
cflags = [ "-Wno-error" ]
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录