Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ATF tests still failing to complete within 2 hours on amd64
Why make it look like the test-case did the output itself?
Would it not make more sense to add another field to the tc-start: and
tc-end: lines?
On Wed, 14 Dec 2011, Christos Zoulas wrote:
On Dec 14, 7:40pm, jmmv%NetBSD.org@localhost (Julio Merino) wrote:
-- Subject: Re: ATF tests still failing to complete within 2 hours on amd64
| Too fast to reply. You'd do the following instead:
|
| Modify atf-run to spit start and end timestamps for every test case
| processed and make this information appear "as if it had come from the test
| case itself". You can do that by editing atf-run/test-program.cpp,
| impl::run_test_case function, and writing lines to the "writer" object that
| are prefixed with "tc-so: ". This will make the information trivially
| available to atf-report.
Why begin and end time? Do you want the timestamp in human readable form?
I would like to use clock monotonic where the origin is unspecified and
only print elapsed time.
christos
!DSPAM:4ee942d41961350615609!
-------------------------------------------------------------------------
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index