tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: posix compliance test



On Dec 9, 2013, at 1:47 PM, Christos Zoulas <christos%zoulas.com@localhost> 
wrote:

> 
> Hi,
> 
> I am trying to get the posix compliance tests from:
> 
>    http://sourceforge.net/projects/posixtest/?source=directory
> 
> running, but a lot of stuff does not compile because we are missing
> some API's.  The code does a good job to find what is supported by
> using sysconf(), for example it checks _SC_THREAD_PROCESS_SHARED
> before calling pthread_condattr_setpshared(), but unfortunately we
> don't supply the function at all (instead of supplying it and
> returning EOPNOTSUPP/EINVAL).
> 
> I think that supplying the function and returning an error is better and
> will let the tests work without causing excessive ifdefing of the sources.
> 
> Does anyone have any other/better ideas?

I've had a local fix which has done that for years. :)


Home | Main Index | Thread Index | Old Index