tech-userlevel archive

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

Re: posix compliance test



On Dec 9,  1:55pm, matt%3am-software.com@localhost (Matt Thomas) wrote:
-- Subject: Re: posix compliance test

| > 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. :)

Can you commit what you have so I don't end up re-doing it? There is not
that function only but a bunch of them.

christos


Home | Main Index | Thread Index | Old Index