Fix a bug in the warning processor where we're supposed to be processing only 
the "old" warnings but are incorrectly processing all of them.

Signed-off-by: John Admanski <[email protected]>

--- autotest/server/autotest.py 2010-03-23 10:35:58.000000000 -0700
+++ autotest/server/autotest.py 2010-03-23 10:35:58.000000000 -0700
@@ -1052,7 +1052,7 @@
                 # output any warnings between now and the next status line
                 old_warnings = [(timestamp, msg) for timestamp, msg in warnings
                                 if timestamp < self.newest_timestamp]
-                self._process_warnings(self.last_line, self.logs, warnings)
+                self._process_warnings(self.last_line, self.logs, old_warnings)
                 del warnings[:len(old_warnings)]
                 # now process the line itself
                 self._process_line(line)
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to