Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH: Correct handling of DejaGNU UNTESTED results


  • To: qmtest@xxxxxxxxxxxxxxxx
  • Subject: PATCH: Correct handling of DejaGNU UNTESTED results
  • From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
  • Date: Tue, 12 Dec 2006 21:25:12 -0800

This patch corrects the handling of DejaGNU UNTESTED results when
generating expectations.  In particular, the expected QMTEST result is
now UNTESTED -- rather than PASS.

Committed.
 
--
Mark Mitchell
CodeSourcery
mark@xxxxxxxxxxxxxxxx
(650) 331-3385 x713

2006-12-12  Mark Mitchell  <mark@xxxxxxxxxxxxxxxx>

	* qm/test/classes/dejagnu_stream.py
	(DejaGNUReader.__UpdateResult): Treat DejaGNU UNTESTED results as
	QMTEST UNTESTED results when generating outcomes from a DejaGNU log
	file.

Index: qm/test/classes/dejagnu_stream.py
===================================================================
--- qm/test/classes/dejagnu_stream.py	(revision 1001)
+++ qm/test/classes/dejagnu_stream.py	(working copy)
@@ -329,7 +329,8 @@ class DejaGNUReader(FileResultReader):
                                    DejaGNUTest.XFAIL,
                                    DejaGNUTest.XPASS):
                 qmtest_outcome = Result.FAIL
-            elif dejagnu_outcome == DejaGNUTest.UNSUPPORTED:
+            elif dejagnu_outcome in (DejaGNUTest.UNSUPPORTED,
+                                     DejaGNUTest.UNRESOLVED):
                 qmtest_outcome = Result.UNTESTED
             else:
                 qmtest_outcome = Result.PASS