[PATCH] eng: Requirements counting shall start at zero

Gedare Bloom gedare at rtems.org
Fri Dec 11 13:34:27 UTC 2020


I don't mind starting 0 or 1, consistency is important.

If we know the max count (N) ahead of time, it can be helpful to generate
with a 0-padded number. This makes every name a consistent size and can be
sorted lexicographically.

On Wed, Dec 9, 2020 at 6:50 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> Hello Andrew,
>
> On 09/12/2020 14:47, Andrew Butterfield wrote:
> >  I plan to generate numbered test sources - should these also be
> > numbered from 0?
> > E.g.  tr-model-events-mgr-n.c  - I was going to have `n` range from
> > 1..N -- should I adopt the same convention as you suggest for
> consistency?
> if we agree on this change, then the test file numbering should also
> start from 0.
>
> --
> embedded brains GmbH
> 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/20201211/b72a64e3/attachment.html>


More information about the devel mailing list