Additional logging of kernel.timer.timer_behavior_external 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>
28 lines
774 B
YAML
28 lines
774 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
|
|
record:
|
|
regex: "RECORD:(?P<metrics>.*)"
|
|
as_json: ['metrics']
|
|
extra_configs:
|
|
- CONFIG_TIMER_EXTERNAL_TEST=y
|
|
- CONFIG_BOOT_DELAY=5000
|