samples: Fix filtering on UART_CONSOLE

There were a few different issues with the UART_CONSOLE filtering:
* Filter was incorrect - UART_CONSOLE should be CONFIG_UART_CONSOLE
* platform_exclude was used for drivers that had a #error for lack of
  interrupt support.  We can now use CONFIG_SERIAL_SUPPORT_INTERRUPT in
  the filter for that.  This catches all the various drivers that needed
  don't support uart interrupts, not just the onces that had a #error

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-06-28 09:01:44 -05:00 committed by Anas Nashif
commit 21cf3a6344
4 changed files with 4 additions and 7 deletions

View file

@ -4,6 +4,5 @@ sample:
tests:
- test:
build_only: true
filter: CONFIG_UART_CONSOLE
platform_exclude: qemu_riscv32 qemu_nios2
filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT
tags: samples

View file

@ -4,6 +4,5 @@ sample:
tests:
- test:
build_only: true
filter: UART_CONSOLE
platform_exclude: qemu_riscv32 qemu_nios2
filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT
tags: samples

View file

@ -4,6 +4,5 @@ sample:
tests:
- test:
build_only: true
filter: UART_CONSOLE
platform_exclude: qemu_riscv32 qemu_nios2
filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT
tags: samples

View file

@ -4,5 +4,5 @@ sample:
tests:
- test:
build_only: true
filter: UART_CONSOLE
filter: CONFIG_UART_CONSOLE and CONFIG_SERIAL_SUPPORT_INTERRUPT
tags: samples