Add test late timer start (retry #557) (#591)

* Add test for timer start delayed past expiration

This reverts commit 53af0ec62e, which
itself reverted 9c91199016.

* Add warning about vTimerDemoIncludeBacklogTests()

* uncrustify for CI check

* Remove unintentional changes to spacing in comments
This commit is contained in:
Jeff Tenney 2022-08-18 13:54:14 -07:00 committed by GitHub
parent 3693b3e8c9
commit 2e772110e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 63 additions and 4 deletions

View file

@ -30,6 +30,14 @@
void vStartTimerDemoTask( TickType_t xBaseFrequencyIn );
BaseType_t xAreTimerDemoTasksStillRunning( TickType_t xCycleFrequency );
void vTimerPeriodicISRTests( void );
/*
* Test the behavior of backlogged timers. The backlog tests should not be
* included while other demos are running concurrently with the timer demo. The
* backlog tests utilize xTaskCatchUpTicks(), which is logically equivalent to
* starving all tasks for some number of ticks. Under these conditions, other
* demos may errantly detect test failures.
*/
void vTimerDemoIncludeBacklogTests( BaseType_t includeBacklogTests );
#endif /* TIMER_DEMO_H */