[PATCH] improved error checking in ticks per timeslice

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Mar 18 09:15:30 UTC 2024


This patch breaks the build:

In file included from ../../../cpukit/include/rtems/confdefs.h:64,
                  from 
../../../testsuites/rhealstone/rhdeadlockbrk/deadlockbrk.c:215:
../../../cpukit/include/rtems/confdefs/clock.h:74:4: error: #error 
"CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero"
    74 |   #error "CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero"
       |    ^~~~~

In file included from ../../../cpukit/include/rtems/confdefs.h:64,
                  from 
../../../testsuites/rhealstone/rhmlatency/mlatency.c:158:
../../../cpukit/include/rtems/confdefs/clock.h:74:4: error: #error 
"CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero"
    74 |   #error "CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero"
       |    ^~~~~

In file included from ../../../cpukit/include/rtems/confdefs.h:64,
                  from 
../../../testsuites/rhealstone/rhtaskswitch/taskswitch.c:122:
../../../cpukit/include/rtems/confdefs/clock.h:74:4: error: #error 
"CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero"
    74 |   #error "CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero"
       |    ^~~~~

In file included from ../../../cpukit/include/rtems/confdefs.h:64,
                  from 
../../../testsuites/rhealstone/rhilatency/ilatency.c:29:
../../../cpukit/include/rtems/confdefs/clock.h:74:4: error: #error 
"CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero"
    74 |   #error "CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero"
       |    ^~~~~

In file included from ../../../cpukit/include/rtems/confdefs.h:64,
                  from 
../../../testsuites/rhealstone/rhtaskpreempt/taskpreempt.c:120:
../../../cpukit/include/rtems/confdefs/clock.h:74:4: error: #error 
"CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero"
    74 |   #error "CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero"
       |    ^~~~~

-- 
embedded brains GmbH & Co. KG
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list