Mercurial > octave-buildbot
comparison master.cfg @ 19:e7bc00398e25
Make "errLineReceived" a method of "octave_test_observer" (bug #58393).
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 30 May 2020 16:57:14 +0200 |
parents | 27f9d077b8b5 |
children | 0755c33a0f99 |
comparison
equal
deleted
inserted
replaced
18:27f9d077b8b5 | 19:e7bc00398e25 |
---|---|
348 if typ == "FAIL" or typ == "REGRESSION": | 348 if typ == "FAIL" or typ == "REGRESSION": |
349 if num > 0: | 349 if num > 0: |
350 self.rc = FAILURE | 350 self.rc = FAILURE |
351 self.failed += num | 351 self.failed += num |
352 | 352 |
353 def errLineReceived (self, line): | 353 def errLineReceived (self, line): |
354 self.total += 1 | 354 self.total += 1 |
355 self.errors += 1 | 355 self.errors += 1 |
356 self.rc = FAILURE | 356 self.rc = FAILURE |
357 | |
357 | 358 |
358 class octave_test (Test): | 359 class octave_test (Test): |
359 | 360 |
360 def __init__ (self, *args, **kwargs): | 361 def __init__ (self, *args, **kwargs): |
361 Test.__init__ (self, *args, **kwargs) | 362 Test.__init__ (self, *args, **kwargs) |