caofuqi1
248a9f772b
netutils/cjson: Enable cjson test
2023-01-26 08:12:19 +02:00
ligd
e9c6fa0497
cpuload: add cpulad test case
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-01-26 08:11:04 +02:00
Xiang Xiao
cfed5f08fd
Minor typo fix
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-01-25 23:20:07 +02:00
anjiahao
731e7470b2
crypto:add aescbc testcase to testing
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-01-17 01:57:39 +08:00
anjiahao
b366a31644
crypto:add getfd for crypto testcase
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-01-17 01:57:39 +08:00
dongjiuzhu1
2e0c1c1ddb
app/fstest: config the number of open file and the maximum size of file
...
adjust resource using on resource-constrained systems
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2022-12-29 13:38:44 +08:00
yintao
3fbb452b4a
cmocka:Add automated testing framework cmocka in testing
...
Signed-off-by: yintao <yintao@xiaomi.com>
2022-12-22 00:58:51 +08:00
ligd
7f11c91054
ostest: remove printf & sem_wait in sigaction
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-12-21 13:38:18 +09:00
pengyiqiang
8ec53eeb52
testing/monkey: add auto select uinput
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-11-29 04:54:20 +08:00
qinwei1
c86509be4c
apps: getpid should return process id not thread id
...
Summary:
following the change in the nuttx kernel, implement the right semantics:
1. getpid should return the main thread id
2. gettid should return the current thread id
Refer:
https://github.com/apache/incubator-nuttx/issues/2499
https://github.com/apache/incubator-nuttx/pull/2518
Nuttx Kernel PR:
https://github.com/apache/incubator-nuttx/pull/7597
update apps code
Testing PASSED with qemu( 32/64 )
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2022-11-17 17:58:45 +08:00
zhangyuan21
3dabc24635
ostest: reset g_restartstep when test case restart
...
The g_restartstep value is not initialized when ostest repeated.
2022-11-16 00:07:38 +08:00
crafcat7
a799738184
testing/fstest:Remove duplicate macro references in source code
2022-11-14 22:41:53 +08:00
crafcat7
606ebe99d9
testing/fstest:Remove duplicate macro references in source code
...
There is a macro configuration in the source code, and the macro configuration is also referenced in Kconfig. Delete the macro configuration in the source file, whichever is in Kconfig.
2022-11-14 22:41:53 +08:00
ligd
b16eaf9d8e
mm: add memory stress test
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-11-11 22:26:59 +08:00
yinshengkai
ee4d8b738f
Makefile: replace INCDIR to INCDIR_PREFIX
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-11-10 02:38:58 +08:00
Fotis Panagiotopoulos
f85a6b6fb9
Added poweroff in fs and mm tests.
2022-11-08 02:52:46 +08:00
wangbowen6
fe28ed0520
mm_main: delete realloc boundary test
...
It's better to add DEBUGASSERT in mm code to check the unaligned
problem instead add a complex test case.
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
2022-11-01 19:18:08 +08:00
Xiang Xiao
2962af6fe6
Fix fatal error: array: No such file or directory
...
enable test_stl2 only when CONFIG_LIBCXX is enabled
since uClibc++/minic++ doesn't have array header file
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-23 16:51:25 +08:00
nietingting
0a6539bfc5
ltp: fix build fail with "argument too long" issue on 20.04
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-22 22:14:44 +08:00
anjiahao
65668b33d9
ostest:add sem protocl to priority inheritance
...
ostest testcase use sem as lock
need set protocl
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-10-22 16:23:42 +09:00
Xiang Xiao
6f01a3b3d4
testing/ostest: Remove the code which reference CONFIG_SEM_NNESTPRIO
...
since CONFIG_SEM_NNESTPRIO is removed by:
https://github.com/apache/incubator-nuttx/pull/6318
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-21 09:18:26 +02:00
Masayuki Ishikawa
ee7b47ba4e
testing: ostest: Fix task_restart test
...
Summary:
- This commit fixes the task_restart test for the 2nd time execution
Impact:
- None
Testing:
- sim:ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-10-21 01:34:15 +08:00
Xiang Xiao
b659f0fbdf
Remove the unnecessary cast for main_t, NULL and argv
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 18:40:23 +02:00
Xiang Xiao
893387b2c5
Fix the minor style issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-16 19:07:16 +02:00
Xiang Xiao
4941182cc6
Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),)
...
to support the tristate option correctly and unify the usage
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-16 14:59:08 +02:00
Masayuki Ishikawa
97440889ac
testing: ostest: Add ASSERT in case of errors
...
Summary:
- This commit adds ASSERT in case of errors to stop the
execution of ostest
- Also, add some 'ERROR' messages
Impact:
- None
Testing:
- Run ostest with several configs
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-10-16 13:24:50 +08:00
zhangyuan21
7fcba8a119
ostest: add semaphore wait case for task restart
2022-10-11 15:29:45 +08:00
Xiang Xiao
9291d07a87
Fix the coding style issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-06 12:20:32 +02:00
Petro Karashchenko
8e8d461590
ostest/prioinherit: fix priority inheritance test when compiled without optimisation
...
When application is compiled without optimisation the stack usage
is higher. 1K stack of adversary task is getting overflowed and that
leads to crash. Set stack size to CONFIG_DEFAULT_TASK_STACKSIZE for
adversary task
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-10-01 11:41:26 +08:00
Xiang Xiao
0dc5e9f469
Replace #include <queue.h> with #include <nuttx/queue.h>
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-09-26 08:04:51 +02:00
anjiahao
ac4b42fee7
testing:support openbsd crypto test for nuttx
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-09-16 23:20:58 +08:00
anjiahao
ccd7d12bcb
testing:crypto testing form openbsd
...
aesctr.c:
49a6e16f2c2c8e509184b1f777366d1a6f337e1c
aes_xts.c:
49a6e16f2c2c8e509184b1f777366d1a6f337e1c
des3.c:
49a6e16f2c2c8e509184b1f777366d1a6f337e1c
hmac.c
f51db96baec97348726b28106516038de1518dc5
https://github.com/openbsd/src
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-09-16 23:20:58 +08:00
田昕
799fe4e684
testing/mtd_config_fs:more test cases for garbage collection.
...
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
2022-09-16 18:03:11 +08:00
田昕
3d53b7e0e0
testing/nvconfig:fix compiling err after removing MTD_CONFIG_ERASEDVALUE
...
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
2022-09-14 20:16:17 +08:00
ligd
048b79955e
ostest: fix sighand_test report error
...
sighand_test: ERROR waiter task did not exit
reason:
sleep will be interrupt by signal
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-09-07 01:18:15 +08:00
田昕
c427f408cb
testing:add MTD Fail-safe config-data tests
...
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
2022-08-31 20:33:20 +08:00
Huang Qi
2e2630e838
Don't download tarballs if a local git repo found
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-28 17:20:47 +08:00
Masayuki Ishikawa
1bf462e1c1
testing: getprime: Fix the thread number info
...
Summary:
- I noticed that getprime sometimes shows a wrong thread number
- This commit fixes this issue
Impact:
- None
Testing:
- Tested with sabre-6quad:netnsh
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-08-25 19:42:25 +08:00
pengyiqiang
a9f6d66888
add fds initialization and buttonset comparison
2022-08-17 11:41:13 +08:00
pengyiqiang
d3232585b0
fixed non-standard naming and usage
2022-08-17 11:41:13 +08:00
pengyiqiang
2af0fb3815
fix warning
2022-08-17 11:41:13 +08:00
pengyiqiang
2ed3a91426
testing: add monkey test
2022-08-17 11:41:13 +08:00
liuhaitao
e1a382d62a
testing/uclibcxx_test: Define TESTDIR correctly
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-16 19:00:01 +03:00
Xiang Xiao
79e4c66764
testing/sensortest: Keep g_sensor_info in order
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-15 10:49:34 +03:00
Xiang Xiao
3021b8d11e
testing/sensortest: Add FAR for pointer type
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-15 10:49:34 +03:00
xiatian6
491f549d1c
fix: sensor: add sensor type of cap
...
Increase the type of cap sensor, including
raw data and detection status.
Signed-off-by: xiatian6 <xiatian6@xiaomi.com>
2022-08-15 10:49:34 +03:00
Xiang Xiao
b515a00fea
zmodem: Move crc16.h and crc32.h from host to host/nuttx
...
to avoid the conflict with the 3rd party library
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-13 13:28:30 +03:00
Jiuzhu Dong
e04333c986
driver/sensor: rename /dev/sensor -> /dev/uorb
...
because this directory contains all topics by uorb using, not just sensors.
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-08-08 23:11:37 +08:00
Lee Lup Yuen
8b43f9f9ca
testing/sensortest: Update device path
...
Device paths are now named `/dev/sensor/sensor_...`: 3fdd036ba6/drivers/sensors/sensor.c (L49)
2022-08-08 13:31:18 +08:00
Jiuzhu Dong
eef03ad0a1
testing/sensortest: fix cmd argument mismatch(follow new sensor driver)
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-07-29 16:26:40 +03:00