[PATCH] improved error checking in ticks per timeslice

Kinsey Moore kinsey.moore at oarcorp.com
Mon Mar 18 20:31:27 UTC 2024


Sorry, I didn't realize I had tests turned off in my local build when I
checked this. The test is now gated behind NEEDS_CLOCK_DRIVER as well.

Kinsey

On Mon, Mar 18, 2024 at 4:15 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> 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/
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20240318/df9b7770/attachment.htm>


More information about the devel mailing list