PATCH: Read DejaGNU log files

Mark Mitchell mark at codesourcery.com
Wed Aug 24 02:52:25 UTC 2005


This patch makes QMTest automatically read DejaGNU ".log" files as if 
they were QMTest results files.  One immediate application is that you 
can now do:

   qmtest summarize -O old.log new.log

to get a QMTest-style difference report of new failures.

The resulting Result objects are somewhat impoverished, in that we 
capture the outcome of the test, and the test ID, but do not try to fill 
in any annotations.  DejaGNU log files don't have much structure, so 
trying to do better, with reasonable accuracy, may be hard.

A pleasant side-effect of this patch is that you can now run "qmtest 
summarize" without an actual test database at hand, as nothing really 
required that.  So, viewing old QMTest result files does not require 
having a copy of the database you used handy.

Checked in.

-- 
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com
(916) 791-8304
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dejagnu.patch
URL: <http://sourcerytools.com/pipermail/qmtest/attachments/20050823/b35a3bea/attachment.ksh>


More information about the qmtest mailing list