[qmtest] Binary results file?
Mark Mitchell
mark at codesourcery.com
Fri Dec 27 18:24:03 UTC 2002
--On Wednesday, December 25, 2002 01:49:22 PM +0300 Vladimir Prus
<ghost at cs.msu.su> wrote:
>
> I've just noticed that results.qmr file written
> by "qmtest run", stored from gui, or file given
> in "-o" option to "qmtest run" are not XML anymore.
> And there's no option to make it XML.
That's true. The logic is still there; there's an XMLResultsStream
(spelling might be wrong) class that will write out the results as
XML. We didn't have time before 2.0 to wire up the command-line
options to pick amongst output streams.
There was a very good reason for changing to the pickled representation;
it's much, much faster. With test databases with thousands of results,
the XML results file could take minutes to load; in the pickled form it
takes seconds.
We'd like to have the option to choose between them, but there's little
bit of thinking to do about how exactly that should work. Presumably
something like:
--output-stream=xml_results_stream.XMLResultsStream -o foo
or the like.
--
Mark Mitchell mark at codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the qmtest
mailing list