samples: drivers: crypto: fix test failure
The regular expressions used by this test to determine success or failure get confounded if the log subsystem drops the wrong messages due to buffers being full. Just use minimal logging which synchronously logs everything. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
b7160c0ee4
commit
777213c0fb
3 changed files with 8 additions and 6 deletions
|
@ -7,3 +7,4 @@ CONFIG_CRYPTO=y
|
|||
CONFIG_CRYPTO_TINYCRYPT_SHIM=y
|
||||
CONFIG_CRYPTO_LOG_LEVEL_DBG=y
|
||||
CONFIG_LOG=y
|
||||
CONFIG_LOG_MINIMAL=y
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
CONFIG_LOG=y
|
||||
CONFIG_LOG_MINIMAL=y
|
||||
CONFIG_MBEDTLS=y
|
||||
CONFIG_MBEDTLS_BUILTIN=y
|
||||
CONFIG_MBEDTLS_CFG_FILE="config-tls-generic.h"
|
||||
|
|
|
@ -15,15 +15,15 @@ tests:
|
|||
type: multi_line
|
||||
regex:
|
||||
- ".*: Cipher Sample"
|
||||
- ".*main: CBC Mode"
|
||||
- ".*main: CTR Mode"
|
||||
- ".*main: CCM Mode"
|
||||
- ".*: CBC Mode"
|
||||
- ".*: CTR Mode"
|
||||
- ".*: CCM Mode"
|
||||
sample.drivers.crypto.mbedtls.micro:
|
||||
tags: crypto
|
||||
harness_config:
|
||||
type: multi_line
|
||||
regex:
|
||||
- ".*: Cipher Sample"
|
||||
- ".*main: CBC Mode"
|
||||
- ".*main: CTR Mode"
|
||||
- ".*main: CCM Mode"
|
||||
- ".*: CBC Mode"
|
||||
- ".*: CTR Mode"
|
||||
- ".*: CCM Mode"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue