cec: expand Timer Programming tests
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 0 repliesNew
- v32 patches 2 repliesSuperseded
- v21 patch 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 1 reply | Superseded |
Changes in v4 from the cover letter
Patch 1/2: cec: expand Timer Programming tests
- revise error and overlap function names and return values
- use struct tm as a pointer
- increment year only when follower receives set time message
- clear timers in previous year/next year if any
- add helper functions to send and clear timers
- add logical address Backup to device that may pass tests
- add check for standby message received during recording Patch 2/2: cec-follower: emulate programmed timer recordings
- add check for standby message received during recording
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cec: expand Timer Programming testsutils/ utils/ utils/ +3 more | +706 | 0 replies | |
| 2/2 | cec-follower: emulate programmed timer recordingsutils/ utils/ utils/ +1 more | +84 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/2] cec: expand Timer Programming tests
This is part of an Outreachy project to expand the testing of Timer Programming messages as handled by CEC adapters.
Changes since v3:
Patch 1/2: cec: expand Timer Programming tests
- revise error and overlap function names and return values
- use struct tm as a pointer
- increment year only when follower receives set time message
- clear timers in previous year/next year if any
- add helper functions to send and clear timers
- add logical address Backup to device that may pass tests
- add check for standby message received during recording Patch 2/2: cec-follower: emulate programmed timer recordings
- add check for standby message received during recording
Changes since v2:
Patch 1/2: cec: expand Timer Programming tests
- use 3-character abbreviations for months
- in set_timer tests, simplify the method for finding "tomorrow"
- use fixed dates for timer_error tests
- use full leap-year algorithm
- add source type and recording sequence as ways to compare timers
- add source type and recording sequence to print_timers()
- replace timer field end_time with duration in seconds
- replace timer_duplicate function with std::set::find
- do not truncate overlapped timers, just set them with a warning Patch 2/2: cec-follower: emulate programmed timer recordings
- new patch
Changes since v1:
- rename functions for clarity
- set most test timers as a function of current time, not fixed times
- use time_t instead of struct tm to hold start/stop times
- use std::set instead of std::list to hold timers
- add repeat timers (recording sequence) emulation
Deborah Brouwer (2):
cec: expand Timer Programming tests
cec-follower: emulate programmed timer recordings
utils/cec-compliance/cec-compliance.cpp | 1 + utils/cec-compliance/cec-compliance.h | 1 + utils/cec-compliance/cec-test.cpp | 424 +++++++++++++++++++----- utils/cec-follower/cec-follower.cpp | 59 ++++ utils/cec-follower/cec-follower.h | 44 +++ utils/cec-follower/cec-processing.cpp | 65 ++++ utils/cec-follower/cec-tuner.cpp | 295 +++++++++++++++-- 7 files changed, 788 insertions(+), 101 deletions(-)
Signature · 1 line
2.25.1