From: Thierry Parmentelat Date: Mon, 13 Feb 2012 10:49:38 +0000 (+0100) Subject: skip symlink logs/trace to avoid duplicates of test failures X-Git-Tag: tests-5.0-37~3 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=32b2cd438b4ed96cd50b94412c09c2113663747a;p=tests.git skip symlink logs/trace to avoid duplicates of test failures --- diff --git a/system/Substrate.py b/system/Substrate.py index 501e3ab..c9a6827 100644 --- a/system/Substrate.py +++ b/system/Substrate.py @@ -692,7 +692,7 @@ class TestInstance: def add_pid (self,pid): self.pids.append(pid) - def set_broken (self,plcindex, step): + def set_broken (self, plcindex, step): self.broken_steps.append ( (plcindex, step,) ) def line (self): @@ -775,7 +775,7 @@ class TestBox (Box): t=self.add_timestamp(buildname,timestamp) except: print 'WARNING, could not parse ts line',ts_line - command=['bash','-c',"grep KO /root/*/logs/trace* /dev/null" ] + command=['bash','-c',"grep KO /root/*/logs/trace-* /dev/null" ] trace_lines=self.backquote_ssh (command).split('\n') for line in trace_lines: if not line.strip(): continue