Chris Johns created an issue: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5568



## Summary

The config item `BUILD_VALIDATIONTESTS` is broken if tests are enabled and this 
setting it set to `False`.

This bug shows a lack of testing of these options and poor separation of 
dependencies and the options. The unit tests seems to be a dependent on 
`testsuites/validation`. The documentation for these options does not indicate 
an dependency:

```
# Build the unit test programs (may be also enabled by BUILD_TESTS)
BUILD_UNITTESTS = False
# Build the validation test programs (may be also enabled by
# BUILD_TESTS)
BUILD_VALIDATIONTESTS = False
```

I have no idea what the role of this unit test group of tests is and how they 
relate to the groups that have existed in RTEMS for decades? The eng manual 
offers little useful information. I did find [specification language 
chat](https://docs.rtems.org/docs/main/eng/req/items.html#unit-test-link-role) 
but this actually says little more than what is obvious.

## Steps to reproduce

Use the following in a configuration INI file:

```
[DEFAULT]
RTEMS_POSIX_API = True
RTEMS_DEBUG = True
BUILD_TESTS = True
BUILD_TMTESTS = False
BUILD_VALIDATIONTESTS = False
```

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5568
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to