
David Abrahams wrote:
testing.capture-output date_time/testmicrosec_time_clock.run
looks like a Boost bug.
2007-Feb-25 10:27:54 2007-Feb-25 10:27:54.730125000 Pass :: hours match Pass :: minutes match Pass :: seconds match Pass :: hours date Pass :: last is less 2007-Feb-25 10:27:54 2007-Feb-25 10:27:54.730125000 Pass :: hours match Pass :: minutes match Pass :: seconds match Pass :: hours date FAIL :: last is less ...
It's not a bug in the library -- your machine is too fast. The test is, as much as anything, a test that the clock on the machine provides monotonically increasing values. So there's 3 possible solutions. 1) Change the test to use >= in the time comparisons, 2) increase the number of loops between measurements, or 3) ignore it. Jeff