[llvm-commits] [zorg] r106092 - /zorg/trunk/lnt/lnt/util/NTEmailReport.py

Daniel Dunbar daniel at zuster.org
Wed Jun 16 00:38:28 PDT 2010


Author: ddunbar
Date: Wed Jun 16 02:38:28 2010
New Revision: 106092

URL: http://llvm.org/viewvc/llvm-project?rev=106092&view=rev
Log:
LNT/simple: Fix a bug in reporting added/removed tests.

Modified:
    zorg/trunk/lnt/lnt/util/NTEmailReport.py

Modified: zorg/trunk/lnt/lnt/util/NTEmailReport.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/util/NTEmailReport.py?rev=106092&r1=106091&r2=106092&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/util/NTEmailReport.py (original)
+++ zorg/trunk/lnt/lnt/util/NTEmailReport.py Wed Jun 16 02:38:28 2010
@@ -109,9 +109,9 @@
                 new_failures[pset] = (name, cr)
             elif test_status == runinfo.IMPROVED:
                 new_passes[pset] = (name, cr)
-            elif cr.current is None:
+            elif cr.current is None and cr.previous is not None:
                 removed_tests[pset] = (name, cr)
-            elif cr.previous is None:
+            elif cr.current is not None and cr.previous is None:
                 added_tests[pset] = (name, cr)
             elif test_status == runinfo.UNCHANGED_FAIL:
                 existing_failures[pset] = (name, cr)





More information about the llvm-commits mailing list