RTEMS | testsuites/unit: Add missing libvalidation dependency (!1253)
SHIVAM DEOLANKAR (@D3athSkulll)
gitlab at rtems.org
Tue May 19 00:56:26 UTC 2026
SHIVAM DEOLANKAR commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1253#note_150493
Verified using the config below.
```
[DEFAULT]
RTEMS_POSIX_API = True
RTEMS_DEBUG = True
BUILD_TESTS = True
BUILD_TMTESTS = False
BUILD_VALIDATIONTESTS = False
[riscv/rv64imafdc]
```
Build State before introducing the fix:
{width=900 height=299}
The validation was not being included in the yml so it produced an error.
{width="570" height="108"}
Build State after introducing the fix:
{width=900 height=309}
After introducing the fix: the build includes the ts-unit-no-clock.exe
{width=570 height=108}
Some unit tests here depended on helper functions provided by libvalidation, but this dependency wasnt declared in unit test build group. Thus our builds with BUILD_VALIDATIONTESTS=False failed to link because of unresolved symbols. This fix adds the missing dependency to unit test group so unit tests link correctly while validation tests exe remain disabled.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1253#note_150493
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/20260519/969ac27a/attachment-0001.htm>
More information about the bugs
mailing list