Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move maxmin solver from system
[simgrid.git] / tools / tesh / tesh.py
index 88212795060e1287f7adc03302ce1bc7840bf2b1..0d2825fff1a173bf2cd82c4f6aa5e7c0b46a9fe1 100755 (executable)
@@ -429,9 +429,9 @@ class Cmd:
             logs.append("(ignoring the output of <{cmd}> as requested)".format(cmd=cmd_name))
         else:
             stdouta = stdout_data.split("\n")
+            stdouta = self.remove_ignored_lines(stdouta)
             while stdouta and stdouta[-1] == "":
                 del stdouta[-1]
-            stdouta = self.remove_ignored_lines(stdouta)
             stdcpy = stdouta[:]
 
             # Mimic the "sort" bash command, which is case unsensitive.