From 32b2cd438b4ed96cd50b94412c09c2113663747a Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 13 Feb 2012 11:49:38 +0100 Subject: [PATCH] skip symlink logs/trace to avoid duplicates of test failures --- system/Substrate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.0