From e63a513a9345d2fec2f4f1a22582700f9de51c20 Mon Sep 17 00:00:00 2001 From: Dmitrii Golovanov Date: Fri, 10 Jan 2025 14:20:33 +0100 Subject: [PATCH] tests: Adjust to Twister changes in recording feature Adjust testcase.yaml files to changes in Twister schema which now allows multiple recording patterns ('record: regex:'). Signed-off-by: Dmitrii Golovanov --- tests/benchmarks/latency_measure/testcase.yaml | 12 ++++++++---- tests/benchmarks/posix/threads/testcase.yaml | 3 ++- tests/benchmarks/sched_queues/testcase.yaml | 2 +- tests/benchmarks/wait_queues/testcase.yaml | 2 +- tests/kernel/timer/timer_behavior/testcase.yaml | 6 ++++-- 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/tests/benchmarks/latency_measure/testcase.yaml b/tests/benchmarks/latency_measure/testcase.yaml index a56dc6dedb7..e2efb4e3978 100644 --- a/tests/benchmarks/latency_measure/testcase.yaml +++ b/tests/benchmarks/latency_measure/testcase.yaml @@ -19,7 +19,8 @@ tests: harness_config: type: one_line record: - regex: "(?P.*) - (?P.*):(?P.*) cycles ,(?P.*) ns" + regex: + - "(?P.*) - (?P.*):(?P.*) cycles ,(?P.*) ns" regex: - "PROJECT EXECUTION SUCCESSFUL" @@ -35,7 +36,8 @@ tests: harness_config: type: one_line record: - regex: "(?P.*) - (?P.*):(?P.*) cycles ,(?P.*) ns" + regex: + - "(?P.*) - (?P.*):(?P.*) cycles ,(?P.*) ns" regex: - "PROJECT EXECUTION SUCCESSFUL" @@ -53,7 +55,8 @@ tests: harness_config: type: one_line record: - regex: "(?P.*) - (?P.*):(?P.*) cycles ,(?P.*) ns" + regex: + - "(?P.*) - (?P.*):(?P.*) cycles ,(?P.*) ns" regex: - "PROJECT EXECUTION SUCCESSFUL" @@ -75,6 +78,7 @@ tests: harness_config: type: one_line record: - regex: "(?P.*) - (?P.*):(?P.*) cycles ,(?P.*) ns" + regex: + - "(?P.*) - (?P.*):(?P.*) cycles ,(?P.*) ns" regex: - "PROJECT EXECUTION SUCCESSFUL" diff --git a/tests/benchmarks/posix/threads/testcase.yaml b/tests/benchmarks/posix/threads/testcase.yaml index 9a7f2084f47..e9798b76a86 100644 --- a/tests/benchmarks/posix/threads/testcase.yaml +++ b/tests/benchmarks/posix/threads/testcase.yaml @@ -14,7 +14,8 @@ common: harness_config: type: one_line record: - regex: "(?P.*), ALL, (?P