zephyr/tests/kernel/timer/timer_behavior/testcase.yaml
Dmitrii Golovanov dd67791857 tests: kernel: timer_behavior: Additional stats recording
Additional logging of kernel.timer.timer test case statistics for
timer drift, variance, etc. as JSON-formatted records to make easier
data collection and its further analysis.
These log records will be processed by the Twister Harness recording
feature which captures and parses timer statistics from the log output,
then composes it into twister.json and recording.csv files.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-06-14 09:41:52 -04:00

25 lines
691 B
YAML

tests:
kernel.timer.timer:
tags:
- kernel
- timer
min_ram: 16
platform_type:
- mcu
simulation_exclude:
- renode
harness_config:
record:
regex: "RECORD:(?P<metrics>.*)"
as_json: ['metrics']
kernel.timer.timer_behavior_external:
filter: dt_compat_enabled("test-kernel-timer-behavior-external")
harness: pytest
harness_config:
pytest_args: ['--tool', 'saleae_logic2', '--tool-options',
'address=127.0.0.1,port=10430,channel=1,sample-rate=6_250_000,threshold-volts=3.3']
fixture: gpio_timerout
extra_configs:
- CONFIG_TIMER_EXTERNAL_TEST=y
- CONFIG_BOOT_DELAY=5000