Skip to content

Commit

Permalink
tests: uart_basic_api: fix configuration
Browse files Browse the repository at this point in the history
These additional configs should have been put in prj.conf
and not here. Makes the tests simpler to build correctly
outside of sanitycheck.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
  • Loading branch information
Andrew Boie authored and ioannisg committed Jul 27, 2019
1 parent bcd6018 commit 504dffa
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions tests/drivers/uart/uart_basic_api/prj.conf
@@ -1,3 +1,4 @@
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_ZTEST=y
CONFIG_NATIVE_UART_0_ON_STDINOUT=y
1 change: 1 addition & 0 deletions tests/drivers/uart/uart_basic_api/prj_poll.conf
@@ -1,2 +1,3 @@
CONFIG_SERIAL=y
CONFIG_ZTEST=y
CONFIG_NATIVE_UART_0_ON_STDINOUT=y
1 change: 1 addition & 0 deletions tests/drivers/uart/uart_basic_api/prj_shell.conf
Expand Up @@ -3,3 +3,4 @@ CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_ZTEST=y
CONFIG_SHELL_CMD_BUFF_SIZE=90
CONFIG_SHELL=y
CONFIG_NATIVE_UART_0_ON_STDINOUT=y
6 changes: 0 additions & 6 deletions tests/drivers/uart/uart_basic_api/testcase.yaml
@@ -1,21 +1,15 @@
tests:
peripheral.uart:
extra_configs:
- CONFIG_NATIVE_UART_0_ON_STDINOUT=y
tags: drivers
filter: CONFIG_UART_CONSOLE
harness: keyboard
peripheral.uart.poll:
extra_args: CONF_FILE=prj_poll.conf
extra_configs:
- CONFIG_NATIVE_UART_0_ON_STDINOUT=y
tags: drivers
filter: CONFIG_UART_CONSOLE
harness: keyboard
peripheral.uart.shell:
extra_args: CONF_FILE=prj_shell.conf
extra_configs:
- CONFIG_NATIVE_UART_0_ON_STDINOUT=y
min_flash: 64
tags: drivers
filter: CONFIG_UART_CONSOLE
Expand Down

0 comments on commit 504dffa

Please sign in to comment.