This commit also moves the TLS (overlay) configuration to a separate file named "overlay-tls.conf". In this way the simple HTTP (without TLS) will not enable Mbed TLS. A new test case is added to sample.yaml to test HTTPS scenario. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
21 lines
447 B
YAML
21 lines
447 B
YAML
sample:
|
|
description: HTTP Server Sample
|
|
name: http_server_sample
|
|
common:
|
|
harness: net
|
|
depends_on: netif
|
|
min_ram: 192
|
|
tags:
|
|
- http
|
|
- net
|
|
- server
|
|
- socket
|
|
platform_exclude:
|
|
- native_posix
|
|
- native_posix/native/64
|
|
- nrf5340dk/nrf5340/cpuapp/ns # Excluding due to ROM overflow.
|
|
tests:
|
|
sample.net.sockets.http.server: {}
|
|
sample.net.sockets.https.server:
|
|
extra_args: EXTRA_CONF_FILE="overlay-tls.conf"
|