From f59c9c0ddea97c668320a10547c1f75c8c8d13d2 Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Mon, 20 Nov 2023 16:16:03 +0100 Subject: [PATCH] tests/subsys/input/*: Switch to native_sim Switch from native_posix to native_sim as default test platform And switch overlays to native_sim. Signed-off-by: Alberto Escolar Piedras --- .../boards/{native_posix.overlay => native_sim.overlay} | 0 .../{native_posix_64.overlay => native_sim_64.overlay} | 2 +- tests/subsys/input/input_longpress/testcase.yaml | 6 +++--- tests/subsys/input/input_shell/testcase.yaml | 4 ++++ 4 files changed, 8 insertions(+), 4 deletions(-) rename tests/subsys/input/input_longpress/boards/{native_posix.overlay => native_sim.overlay} (100%) rename tests/subsys/input/input_longpress/boards/{native_posix_64.overlay => native_sim_64.overlay} (70%) diff --git a/tests/subsys/input/input_longpress/boards/native_posix.overlay b/tests/subsys/input/input_longpress/boards/native_sim.overlay similarity index 100% rename from tests/subsys/input/input_longpress/boards/native_posix.overlay rename to tests/subsys/input/input_longpress/boards/native_sim.overlay diff --git a/tests/subsys/input/input_longpress/boards/native_posix_64.overlay b/tests/subsys/input/input_longpress/boards/native_sim_64.overlay similarity index 70% rename from tests/subsys/input/input_longpress/boards/native_posix_64.overlay rename to tests/subsys/input/input_longpress/boards/native_sim_64.overlay index 166e6f02e8..a906fce748 100644 --- a/tests/subsys/input/input_longpress/boards/native_posix_64.overlay +++ b/tests/subsys/input/input_longpress/boards/native_sim_64.overlay @@ -3,4 +3,4 @@ * * SPDX-License-Identifier: Apache-2.0 */ -#include "native_posix.overlay" +#include "native_sim.overlay" diff --git a/tests/subsys/input/input_longpress/testcase.yaml b/tests/subsys/input/input_longpress/testcase.yaml index 10ca378dd6..8ad1d41a31 100644 --- a/tests/subsys/input/input_longpress/testcase.yaml +++ b/tests/subsys/input/input_longpress/testcase.yaml @@ -3,10 +3,10 @@ tests: input.input_longpress: platform_allow: - - native_posix - - native_posix_64 + - native_sim + - native_sim_64 tags: - drivers - input integration_platforms: - - native_posix + - native_sim diff --git a/tests/subsys/input/input_shell/testcase.yaml b/tests/subsys/input/input_shell/testcase.yaml index e226780164..2848957f74 100644 --- a/tests/subsys/input/input_shell/testcase.yaml +++ b/tests/subsys/input/input_shell/testcase.yaml @@ -6,6 +6,10 @@ tests: platform_allow: - native_posix - native_posix_64 + - native_sim + - native_sim_64 + integration_platforms: + - native_sim harness: console harness_config: type: multi_line