[PATCH] cpukit: Fix __RTEMS_REVISION__ define

Sebastian Huber sebastian.huber at embedded-brains.de
Wed May 3 05:40:08 UTC 2017



On 03/05/17 07:28, Chris Johns wrote:
> On 3/5/17 3:09 pm, Sebastian Huber wrote:
>> On 02/05/17 23:30, Chris Johns wrote:
>>> On 2/5/17 6:20 pm, Sebastian Huber wrote:
>>> [...]

>>> If you want to add this test please extract the version details from the
>>> build system
>> Can we trust the build system?
>>
> Given the header file with the values it created by the build system yes
> we can.

I don't think we can trust the build system. The requirement for a 
release is that the version macros should have specific values. We 
should test that this is the case.

Maybe we have some time in the future something like this:

Requirement 2341: There shall be a C pre-processor define 
__RTEMS_MAJOR__ available via #include <rtems.h> defined to 123.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list