Skip to content

Commit

Permalink
Merge pull request #18513 from kaspar030/tests/periph_timer_short_rel…
Browse files Browse the repository at this point in the history
…ative_set/clarify

tests/periph_timer_short_relative_set: clarify outcome
  • Loading branch information
kaspar030 authored Aug 25, 2022
2 parents ffc6570 + 4146255 commit c908a60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/periph_timer_short_relative_set/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ timeouts.
For example, as of this writing (30-Oct-19), samr21-xpro fails for values below
8, nrf52dk for values below 2.

Note: _THIS IS EXPECTED TO FAIL ON MOST BOARDS_.

## Expected Result

After 100 "interval N ok" messages the test should print "TEST SUCCEEDED".
Expand Down
3 changes: 2 additions & 1 deletion tests/periph_timer_short_relative_set/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ int main(void)
if (diff > TEST_MAX_DIFF) {
printf("ERROR: too long delay, aborted after %" PRIu32
" (TEST_MAX_DIFF=%lu)\n"
"TEST FAILED\n",
"TEST FAILED\n"
"Note: This is currently expected to fail on most boards.\n",
diff, TEST_MAX_DIFF);
while(1) {}
}
Expand Down

0 comments on commit c908a60

Please sign in to comment.