RTEMS | testsuites/psxtests: Added API header OK tests for posix 8 functions to be implemented in GSoC25 (!497)

Joel Sherrill (@joel) gitlab at rtems.org
Thu Jun 12 22:15:23 UTC 2025



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/497 was reviewed by Joel Sherrill

--
  
Joel Sherrill commented on a discussion on testsuites/psxtests/psxhdrs/dlfcn/dladdr.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/497#note_124506

 > + */
 > +
 > +#define _NETBSD_SOURCE

OK. dlfcn.h will also need to be updated. Double check what libdl defines and make sure it doesn't need an update.

--
  
Joel Sherrill started a new discussion on testsuites/psxtests/psxhdrs/semaphore/sem_clockwait.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/497#note_124507

 > +#endif
 > +
 > +#include <fcntl.h>

Double check all functions' includes against the POSIX standard. This one should only need semaphore.h. Delete the other two.

--
  
Joel Sherrill commented on a discussion on testsuites/psxtests/psxhdrs/stdlib/quick_exit.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/497#note_124508

 > +#endif
 > +
 > +#include <stdlib.h>

Yes. Please add that. And to the other C11 function tests.


-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/497
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/20250612/4d5b070f/attachment.htm>


More information about the bugs mailing list