tests/drivers/adc: Switch to native_sim

Switch from native_posix to native_sim as default test platform.
For test with overlays, switch overlays and platform_allow from
native_posix to native_sim.
For tests without overlays, enable also in native_sim, and
set native_sim as integration platform.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-11-20 12:50:21 +01:00 committed by Carles Cufí
commit a7ee8b2757
4 changed files with 9 additions and 3 deletions

View file

@ -6,4 +6,8 @@ common:
tests: tests:
drivers.adc.emul: drivers.adc.emul:
depends_on: adc depends_on: adc
platform_allow: native_posix platform_allow:
- native_posix
- native_sim
integration_platforms:
- native_sim

View file

@ -3,4 +3,4 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include "native_posix.overlay" #include "native_sim.overlay"

View file

@ -3,4 +3,6 @@ common:
tests: tests:
drivers.adc.rescale: drivers.adc.rescale:
depends_on: adc depends_on: adc
platform_allow: native_posix platform_allow:
- native_sim
- native_sim_64