zephyr/samples/drivers/crypto/sample.yaml
Diego Sueiro 140daa2f27 sanitycheck: add min_flash option for 32K devices
Following tests were failing on a microcontroller with 32KB flash:
    test-mbedtls
    kernel.common

The min_flash option has been added in the test case yaml files.

Signed-off-by: Diego Sueiro <diego.sueiro@gmail.com>
2018-04-21 06:57:38 -07:00

35 lines
1.2 KiB
YAML

sample:
description: An example to illustrate the usage of
crypto APIs
name: Crypto APIs
common:
tags: crypto
harness: console
min_ram: 16
tests:
test-mbedtls:
min_flash: 34
extra_args: CONF_FILE=prj_mtls_shim.conf
harness_config:
type: multi_line
regex:
- "\\[general\\] \\[INF\\] .*: Cipher Sample"
- "\\[general\\] \\[INF\\] ccm_mode: CCM Mode"
- "\\[general\\] \\[INF\\] ccm_mode: CCM mode ENCRYPT - Match"
- "\\[general\\] \\[INF\\] ccm_mode: CCM mode DECRYPT - Match"
test-micro:
tags: micro
harness_config:
type: multi_line
regex:
- "\\[general\\] \\[INF\\] .*: Cipher Sample"
- "\\[general\\] \\[INF\\] cbc_mode: CBC Mode"
- "\\[general\\] \\[INF\\] cbc_mode: CBC mode ENCRYPT - Match"
- "\\[general\\] \\[INF\\] cbc_mode: CBC mode DECRYPT - Match"
- "\\[general\\] \\[INF\\] ctr_mode: CTR Mode"
- "\\[general\\] \\[INF\\] ctr_mode: CTR mode ENCRYPT - Match"
- "\\[general\\] \\[INF\\] ctr_mode: CTR mode DECRYPT - Match"
- "\\[general\\] \\[INF\\] ccm_mode: CCM Mode"
- "\\[general\\] \\[INF\\] ccm_mode: CCM mode ENCRYPT - Match"
- "\\[general\\] \\[INF\\] ccm_mode: CCM mode DECRYPT - Match"