Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/omamobile-audio/test/all
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,10 @@ c9settle() { # name settle steps...: steps are delay_s:temp_bytes, applied in o
}
c9settle c9-step 1.5 0.2:0x00,0x0a,0x00,0x00 # 25 -> 40 C: the measured value, a step
((rc == 0)) && ! muted && grep -c 's into a stream' "$r/watch.out" >/dev/null || { cat "$r/watch.out" >&2; fail "watchdog: in stage c9 the step from the reference to the measured coil does not mute"; }
c9settle c9-rise 0.6 0.2:0x00,0x08,0x40,0x00 1.2:0x00,0x0a,0x40,0x00 # 25 -> 33 in the window, then 33 -> 41 C
# The settle window leaves a second either side: on a loaded machine (CI, the
# nightly publish) the step to 33 C once landed after a 0.6 s baseline was
# taken, so the watchdog saw 25 -> 41 and the test failed for timing alone.
c9settle c9-rise 1.0 0.0:0x00,0x08,0x40,0x00 2.0:0x00,0x0a,0x40,0x00 # 25 -> 33 in the window, then 33 -> 41 C
((rc == 1)) && muted && grep -c 'jumped 8.0 C (33.0 -> 41.0)' "$r/run/speaker-protection" >/dev/null || { cat "$r/watch.out" >&2; fail "watchdog: in stage c9 a rise of 8 C above the measured value mutes"; }
c9settle c9-cold 0.4 1.5:0x00,0x07,0xc0,0x00 # no step: the baseline at 0.4 s, then 25 -> 31 C
((rc == 1)) && muted && grep -c 'jumped 6.0 C' "$r/run/speaker-protection" >/dev/null || { cat "$r/watch.out" >&2; fail "watchdog: in stage c9 a 6 C rise after the settle window mutes"; }
Expand Down