Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
further cut the sorted diff to not overflow travis
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 2 Jun 2017 08:16:56 +0000 (10:16 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 2 Jun 2017 08:56:58 +0000 (10:56 +0200)
tools/tesh/tesh.py

index a7a760a..8f1cb4c 100755 (executable)
@@ -353,11 +353,11 @@ class Cmd(object):
                 if self.sort >= 0: # If sorted, truncate the diff output and show the unsorted version
                     difflen = 0;
                     for line in diff:
-                        if difflen<250:
+                        if difflen<50:
                             print(line)
                         difflen += 1
-                    if difflen > 100:
-                        print("(diff truncated after 250 lines)")
+                    if difflen > 50:
+                        print("(diff truncated after 50 lines)")
                     print("Unsorted observed output:\n")
                     for line in stdcpy:
                         print(line)