[PATCH] cpukit: Fix __RTEMS_REVISION__ define

Chris Johns chrisj at rtems.org
Tue May 2 21:30:33 UTC 2017


On 2/5/17 6:20 pm, Sebastian Huber wrote:
> +  rtems_test_assert(__RTEMS_MAJOR__ == 4);
> +  rtems_test_assert(__RTEMS_MINOR__ == 11);
> +  rtems_test_assert(__RTEMS_REVISION__ == 99);

Please do not push this test like this, it breaks releases. The test
will never pass on a release.

If you want to add this test please extract the version details from the
build system and pass into the compiler the values and compare them.

Thanks.
Chris



More information about the devel mailing list