Summary:
- Resolves an issue where `vfork_test` was not executed following
the renaming from CONFIG_ARCH_HAVE_VFORK to CONFIG_ARCH_HAVE_FORK,
as detailed in https://github.com/apache/nuttx/pull/9755.
Impact:
- Please merge https://github.com/apache/nuttx/pull/11200 before
merging this PR.
Testing:
- Successfully tested with rv-virt:smp64, spresense:smp, and sim:smp.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Fix:
```
/home/huang/Work/vela/sifli/apps/Application.mk:273: target 'drivertest_block.c.home.huang.Work.vela.sifli.apps.testing.drivertest.o' given more than once in the same rule
/home/huang/Work/vela/sifli/apps/Application.mk:297: target '/home/huang/Work/vela/sifli/apps/builtin/registry/cmocka_driver_block.bdat' given more than once in the same rule
CC: romfs_main.c /home/huang/Work/vela/sifli/apps/Application.mk:273: target 'drivertest_block.c.home.huang.Work.vela.sifli.apps.testing.drivertest.o' given more than once in the same rule
/home/huang/Work/vela/sifli/apps/Application.mk:297: target '/home/huang/Work/vela/sifli/apps/builtin/registry/cmocka_driver_block.bdat' given more than once in the same rule
```
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
1. Simplify kconfig configuration items.
2. Use events to control the status of virtual devices and improve testing efficiency.
3. Add adaptive screen resolution support.
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commid add an epoll testcase to test the epoll
Test case 1: epoll_wait timeout test.
Test case 2: epoll_wait with driver call poll_notify()
many times simultaneously.
Test case 3: epoll_wait with some driver/socket need call
poll_setup() again when it's internal state
changed.
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
Add port of the sdbench utility from PX4-Autopilot: https://github.com/PX4/PX4-Autopilot
This tool is useful for evaluating and testing peformance of SD cards,
block devices or mount points.
Add port of the sdstress utility from PX4-Autopilot: https://github.com/PX4/PX4-Autopilot
This tool is useful for verifying correct operation of SD, EMMC, or other mountpoints.
follow up the the kernel change:
https://github.com/apache/nuttx/pull/10834
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: TaiJu Wu <tjwu1217@gmail.com>
Verbose output for CI testing with OK and FAILED number of tests. File
name is also now configurable with TESTING_SCANFTEST_FNAME.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
Adds test application for fopencookie utility. The test tool performs
write/read/seek operations on custom stream defined at user space.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
this config.h using to control the test procedure of the relative
test cases. this config.h file is generated by ltp project internal
build file, as we are nuttx build system, so need to manage this file
by manual
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
1. SIGSTOP and SIGKILL should not be used as test. In g_some_signals,
SIGKILL is used.
2. The SIGSTOP and SIGKILL flags of current task are set so we need to
delete them.
the ltp.zip file is not tracked in git record, so after download and
unzip finished, we do not need to keep this ltp.zip file.
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
the origin ltp testcases has many build warnings which consider error in
Nuttx, thus to apply the patches to fix these build warnings
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
Because it may cause unaligned access problems with some hardware, these
two tests are not turned on by default, and are enabled or disabled
through Kconfig.
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>