zephyr/samples/drivers/crypto/sample.yaml
Anas Nashif d05442ee9c samples: crypto: adapt harness
Adapt console harness to new changes in sample output.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2018-06-05 10:26:59 -04:00

38 lines
1.0 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:
- ".*: Cipher Sample"
- ".*main: CBC Mode"
- ".*mtls_session_setup: Unsupported mode"
- ".*main: CTR Mode"
- ".*main: CCM Mode"
- ".*ccm_mode: CCM mode ENCRYPT - Match"
- ".*ccm_mode: CCM mode DECRYPT - Match"
test-micro:
tags: micro
harness_config:
type: multi_line
regex:
- ".*: Cipher Sample"
- ".*main: CBC Mode"
- ".*cbc_mode: CBC mode ENCRYPT - Match"
- ".*cbc_mode: CBC mode DECRYPT - Match"
- ".*main: CTR Mode"
- ".*ctr_mode: CTR mode ENCRYPT - Match"
- ".*ctr_mode: CTR mode DECRYPT - Match"
- ".*main: CCM Mode"
- ".*ccm_mode: CCM mode ENCRYPT - Match"
- ".*ccm_mode: CCM mode DECRYPT - Match"