RTEMS | waf: Fix handling of the VERSION file in a release (!257)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Fri Oct 11 06:23:24 UTC 2024
Sebastian Huber commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/257#note_113070
What is the bug you want to fix? The VERSION file is already supported. Just place a `VERSION` file like this into the top-level directory:
```ini
[RTEMS_VERSION]
RTEMS_VERSION_CONTROL_KEY = foobar
__RTEMS_MAJOR__ = 6
__RTEMS_MINOR__ = 88
__RTEMS_REVISION__ = 99
```
This gives you:
```
*** BEGIN OF TEST RECORD 2 ***
*** TEST VERSION: 6.88.99.foobar
*** TEST STATE: EXPECTED_PASS
*** TEST BUILD: RTEMS_SMP
*** TEST TOOLS: 13.3.0 20240521 (RTEMS 6, RSB 46a5bfdc3fc95d503a63f9bee515e73d9198aa71, Newlib 1b3dcfd)
```
The existing solution works without a hand written special case parser.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/257#note_113070
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241011/7b3eaacf/attachment.htm>
More information about the bugs
mailing list