tests/boards/native*: Moved to native_sim
Moved folder to tests/boards/native_sim from native_posix (including updating the MAINTAINERS file) And enable all these tests for native_sim. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
3d406a7a56
commit
5f4bd36b98
|
@ -2004,7 +2004,7 @@ Native POSIX/Sim and POSIX arch:
|
|||
- scripts/native_simulator/
|
||||
- scripts/valgrind.supp
|
||||
- soc/posix/
|
||||
- tests/boards/native_posix/
|
||||
- tests/boards/native_sim/
|
||||
labels:
|
||||
- "area: native port"
|
||||
description: >-
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
tests:
|
||||
boards.native_posix.native_tasks:
|
||||
arch_allow: posix
|
||||
boards.native_posix_64.native_tasks:
|
||||
arch_allow: posix
|
|
@ -1,8 +1,10 @@
|
|||
# Test of the posix_arch k_busy_wait & cpu_hold() functionality
|
||||
tests:
|
||||
boards.native_posix.cpu_wait:
|
||||
boards.native_sim.cpu_wait:
|
||||
platform_allow:
|
||||
- native_posix
|
||||
- native_posix_64
|
||||
- native_sim
|
||||
- native_sim_64
|
||||
integration_platforms:
|
||||
- native_posix
|
||||
- native_sim
|
3
tests/boards/native_sim/native_tasks/testcase.yaml
Normal file
3
tests/boards/native_sim/native_tasks/testcase.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
tests:
|
||||
boards.native_sim.native_tasks:
|
||||
arch_allow: posix
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
static char *us_time_to_str(char *dest, uint64_t time)
|
||||
{
|
||||
if (time != NEVER) {
|
||||
if (time != NSI_NEVER) {
|
||||
unsigned int hour;
|
||||
unsigned int minute;
|
||||
unsigned int second;
|
|
@ -4,8 +4,10 @@ tests:
|
|||
platform_allow:
|
||||
- native_posix
|
||||
- native_posix_64
|
||||
- native_sim
|
||||
- native_sim_64
|
||||
integration_platforms:
|
||||
- native_posix
|
||||
- native_sim
|
||||
build_only: true
|
||||
# Note: this test depends too much on not having a high host load to pass.
|
||||
# Therefore it should not be run in automated regression
|
Loading…
Reference in a new issue