tests/periph_timer_short_relative_set results are misleading #18511
Labels
Area: tests
Area: tests and testing framework
Area: timers
Area: timer subsystems
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
The test tests/periph_timer_short_relative_set fails on many platforms (microbit-v2, iotlab-m3, samr21), but the
Steps to reproduce the issue
make -C tests/periph_tiomer_short_relative_set BOARD=microbit-v2
.Expected behavior
Tests should be reasonable, and test for properties that need to be upheld. If the test is for something that would be good but is not attained currently, it should say so whenever it is run automatically. (For example, say "skipped", "expected failure" or anything like that, but not be grouped with real failures). If there is no expectation of ever fulfilling the test, there should be some boundary that is clearly communicated also to the users of that API, and the test adjusted to that. (For example, it could say that setting a timer needs to be at least N ticks in advance, where N might be a platform define, and then it is tested for whether that N is upheld, and setting the timer for shorter times should err somehow).
Versions
Current master and 2022.07-RC4
The text was updated successfully, but these errors were encountered: