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:
Alberto Escolar Piedras 2023-11-23 11:50:22 +01:00 committed by Fabio Baltieri
parent 3d406a7a56
commit 5f4bd36b98
14 changed files with 12 additions and 10 deletions

View file

@ -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: >-

View file

@ -1,5 +0,0 @@
tests:
boards.native_posix.native_tasks:
arch_allow: posix
boards.native_posix_64.native_tasks:
arch_allow: posix

View file

@ -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

View file

@ -0,0 +1,3 @@
tests:
boards.native_sim.native_tasks:
arch_allow: posix

View file

@ -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;

View file

@ -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