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-11-09 15:47:11 +0100 |
commit | 233bbe876ba13a6426b4da4629e2bbf464c81243 (patch) | |
tree | f1a570956ebd0d83093c15184d9e5d7d400ccc60 | |
parent | b7c0aeba813b3691d1fb07eb78c8536b6e94aea2 (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 ); |