Hi Paul,

On the new cfarm machine cfarm216.cfarm.net (Solaris 11.4, SPARC),
the gettime-res test frequently fails, both in 32-bit and in 64-bit mode:

$ ./test-gettime-res
gettime_res returned 5 ns
$ ./test-gettime-res
gettime_res returned 5 ns
current_timespec returned 1711414997.052976757 which is not a multiple of the 
resolution, 5 ns
$ ./test-gettime-res
gettime_res returned 5 ns
$ ./test-gettime-res
gettime_res returned 5 ns
$ ./test-gettime-res
gettime_res returned 5 ns
$ ./test-gettime-res
gettime_res returned 5 ns
$ ./test-gettime-res
gettime_res returned 5 ns
current_timespec returned 1711415001.213093952 which is not a multiple of the 
resolution, 5 ns

What shall we do with this one? Override gettime_res() to return 1 ns
instead of 5 ns? Or adapt the unit test?

Bruno




Reply via email to