zephyr/samples/subsys/debug/fuzz/sample.yaml
Alberto Escolar Piedras b1680688c1 samples/subsys/debug/fuzz: run on native_sim instead of native_posix
native_posix is deprecated and will be removed in 4.2
Run this sample in native_sim instead.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-02-27 13:27:46 +00:00

17 lines
535 B
YAML

sample:
description: native_sim-based libfuzzer example
name: fuzz
tests:
sample.debug.fuzz:
toolchain_allow: llvm
platform_allow: native_sim/native/64
harness: console
harness_config:
type: one_line
# The sample will run all the way to key 6 (to show off its
# ability to search a 1-in-2^56 haystack), but that takes 20-60s
# and is quite variable. It's enough to know that it's finding
# new code paths by the third new coverage announcement.
regex:
- "Found key 2"