Commit Graph

28 Commits

Author SHA1 Message Date
openharmony_ci ebb1305ba4 !288 修复shm用例多次执行时失败问题
Merge pull request !288 from lnlan/shm_test_fixed
2021-06-09 09:31:04 +08:00
lnlan 0676578aae fix(kernel_test): 内核mem/shm冒烟用例重复运行失败
【背景】内核mem/shm冒烟用例概率性失败门禁中shm冒烟用例失败,经验证
与构建,不符合预期

【修改方案】
原内核用例的源文件是通过框架自带的source_set(一种虚拟静态库)的方式组织的,
不受unittests(自定义的一种方式)控制,修改为文件列表直接加入到unittest中。

【影响】
对现有的产品编译不会有影响。

re #I3TH4W

Signed-off-by: lnlanc <lanleinan@163.com>
Change-Id: If5452adb033c17ee0d7c7f683968fe53013ee289
2021-06-07 18:51:28 +08:00
Kiita e5f6bf0556 feat: timer_create支持以SIGEV_THREAD方式创建定时器
【背景】当前timer_create接口不支持以SIGEV_THREAD的方式创建多个定时器

【修改方案】
1、内核timer_create接口在创建software timers相应的线程时,使用线程
taskCB所携带的信息识别各个线程的信号并依据该信息分别派发出信号。
2、关于用户任务操作许可验证的修改,现在允许同一用户线程向其自身派发信
号,软件定时器计时结束,向用户态发送相应的信号,完成用户态线程的回调。

【影响】
对现有的产品暂无影响。

re #I3SRFI

Signed-off-by: yansira <yansira@hotmail.com>
Change-Id: Ia23f5ef01975bf867dd7f5db797a30c264c50501
2021-06-04 15:29:44 +08:00
openharmony_ci e93c52c091 !273 修复timer用例引起用户态挂死
Merge pull request !273 from lnlan/master0524
2021-06-04 13:56:11 +08:00
lnlan 0db43f24f5 fix(kernel_test):内核门禁稳定性调整,失败用例移除
【背景】
timer两条用例会导致测试进程异常退出

【修改方案】
将TIME_TEST_TZSET_001和TIME_TEST_TZSET_002两条用例从门禁中去掉

【影响】
对现有的产品编译不会有影响

re #I3SP0J

Signed-off-by: lnlanc <lanleinan@163.com>
Change-Id: Iad89b8ef4260a8d3202c496a39f3a185aec6744e
2021-06-03 19:42:08 +08:00
lnlan 9bdf716407 feat(build): 使用xts -notest选项时,内核用例不参与编译构建和用例编译配置方式调整
【背景】
1.编译新增-notest选项为了排除用例参与构建,使用该选项时内核用例仍会参与构建,不符合预期
2.用例编译配置选项太多,需调整优化
【修改方案】
1.原内核用例的源文件是通过框架自带的source_set(一种虚拟静态库)的方式组织的,
不受unittests(自定义的一种方式)控制,修改为文件列表直接加入到unittest中。
2.编译配置通过level控制
【影响】
对现有的产品编译不会有影响。

Change-Id: I2c6a96e7276346de96f222b725d417418ff0e537
2021-05-29 17:58:39 +08:00
openharmony_ci 3f16f1684a !248 fix: fix length typo
Merge pull request !248 from kenneth/los_queue.h
2021-05-22 09:13:46 +08:00
give-me-five 21fca7c546 update testsuites/unittest/process/mutex/process_mutex_test.cpp. 2021-05-20 18:54:14 +08:00
x_xiny 8c8a0b398d fixed the textsuite
Change-Id: Idb93d3cf8d236a3b7f13d95d08255208c04706dd
2021-05-18 22:30:32 +08:00
kenneth 12d98b144b fix: fix length typo
fix typos length、there、necessary

close https://gitee.com/openharmony/kernel_liteos_a/issues/I3RSY0
2021-05-18 14:33:59 +08:00
guweijie 2534c86d6f Merge branch 'master' of gitee.com:openharmony/kernel_liteos_a into master 2021-05-18 09:56:42 +08:00
teamol e8427a45c5 fix time mould-kernel:fix 2 api clock_gettime、clock_getres
Change-Id: I260e47c895ced01e033ef8a824744e574887c9f5
2021-05-18 09:51:11 +08:00
openharmony_ci 471e47c1c2 !244 用例框架完善
Merge pull request !244 from lnlan/test_fixed
2021-05-17 20:07:49 +08:00
lnlan fbe98af997 fixed that LOSCFG_USER_TEST_SMP is unuseful
Change-Id: Ib6bd11fbeaac88e69de663a7a3f2d01ac1fe9042
2021-05-15 17:16:29 +08:00
openharmony_ci 854a0c53c3 !235 删除menuconfig中无用的模块配置
Merge pull request !235 from lnlan/ktest_fixed
2021-05-15 10:13:54 +08:00
teamol a53ad12907 fix time mould by ChinaSoft Team
Change-Id: I391eccfa8591feb95dcb5b74fba3788f63b981bf
2021-05-14 10:39:59 +08:00
lnlan 0cf9748ce0 delete useless module in Kconfig
Change-Id: I748e6e82c4a09cdbbae741da668cf2bec0406690
2021-05-11 20:22:05 +08:00
openharmony_ci bcf7a0701a !223 add testsuites/kernel to build
Merge pull request !223 from lnlan/ktest_fixed
2021-05-11 17:02:03 +08:00
lnlan b27264b9f3 add testsuites/kernel to build
Change-Id: Ia14a3413b6c974771cef2e147083c7748abd1c59
2021-05-11 11:42:41 +08:00
lnlan 3aa14c9ae7 full & smoke separate
Change-Id: I885610a62b980bd3720b337aced886450338bdcf
2021-05-11 11:06:14 +08:00
lnlan f99e7b3388 test image change name, add _door
Change-Id: I5fd518e2e84df1d524d9405b665306cce485eb63
2021-05-10 21:19:36 +08:00
openharmony_ci 92a2aa6f77 !208 用例框架完善,问题用例修复
Merge pull request !208 from lnlan/test_fixed
2021-05-05 10:17:04 +08:00
lnlan 6fe4a3f946 testsuites fixed
Change-Id: I7f4add72f2fd1cc3770bcf103d1909add4829822
2021-04-30 15:07:26 +08:00
mucor e64e1e7260 add testcase for capability ReadSearch
Change-Id: I19834ced919e7f03a7ac9862bfbaf360637e29bf
2021-04-30 09:30:01 +08:00
JING c14d95f8b5 revert irrelevant commit 2021-04-29 20:22:12 +08:00
JING 68f62d9de8 add umask open/creat test 2021-04-29 18:12:41 +08:00
JING 3d77526160 add umask open/create test 2021-04-29 17:30:43 +08:00
lnlan 778c5e17c3 add testsuites
Change-Id: Ice1193d1ae7f2e0d12a2a38a306a6399407f5037
2021-04-25 17:35:47 +08:00