diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-10-09 14:12:35 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-10-28 19:08:17 +0200 |
commit | ce345bce8d2cfc9f81e1db7065b6618f99ed8479 (patch) | |
tree | 66fdcd81f413fb29829fa0bbad8d29d2e7c5f4ab | |
parent | ae29ae02e5d715b09b6d1466f5604ddf92f5d489 (diff) |
testsuites/validation/ts-config.h
-rw-r--r-- | testsuites/validation/ts-config.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/validation/ts-config.h b/testsuites/validation/ts-config.h index 08df51fc02..6bfbfb3571 100644 --- a/testsuites/validation/ts-config.h +++ b/testsuites/validation/ts-config.h @@ -73,7 +73,7 @@ extern "C" { #define TEST_MAXIMUM_PERIODS 2 -#define TEST_MAXIMUM_SEMAPHORES 6 +#define TEST_MAXIMUM_SEMAPHORES 7 #define TEST_MAXIMUM_TASKS 32 @@ -81,7 +81,11 @@ extern "C" { #define TEST_MAXIMUM_USER_EXTENSIONS 5 -#define TEST_TICKS_PER_TIMESLICE 1 +/* + * Use at least two so that the CPU time budget decrement in + * _Scheduler_default_Tick() does not always result in a zero. + */ +#define TEST_TICKS_PER_TIMESLICE 2 void *test_task_stack_allocate( size_t size ); |