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:
parent
c1fa9f736b
commit
a7ee8b2757
4 changed files with 9 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
#include "native_posix.overlay"
|
#include "native_sim.overlay"
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue