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:

![image.png](/uploads/37e24bd362d46cd72274ff86072966db/image.png){width=900 height=299}

The validation was not being included in the yml so it produced an error.

![image.png](/uploads/775390c7afb7e41e26a0a174563b1bee/image.png){width="570" height="108"}

Build State after introducing the fix:

![image.png](/uploads/f3c483a4535350d39ba90bca424d82de/image.png){width=900 height=309}

After introducing the fix: the build includes the ts-unit-no-clock.exe

![image.png](/uploads/07ea50c00431ed46763a3f92e5232a23/image.png){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