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-12 13:54:22 +0200 |
commit | 32df3013afe6f8ffce4c0d616e49a2abe178e8b0 (patch) | |
tree | 0e30214d167ae2c99a6882cadd4a056b77eb56c5 | |
parent | 726ddf89350037f3ce0f0c72f2394e96d7f12c55 (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 ); |