test.xml target "gen-xml-results" should depend on "test" rather than "init".
Otherwise, ant seems to evaluate <tstamp prefix="test-run.end"> at about the
same time as "init" target, thus rendering meaningless the test-run end-time.
I'm attaching a trivial patch to fix this.
committed in 10425:782efc95adf6
bulk close of all resolved issues in preparation for 3.1.3 release.