From: Martin Quinson Date: Fri, 2 Jun 2017 08:16:56 +0000 (+0200) Subject: further cut the sorted diff to not overflow travis X-Git-Tag: v3.16~158 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/57f540e16cb71c9fefc1ec77a0d8d6c05df9b39a further cut the sorted diff to not overflow travis --- diff --git a/tools/tesh/tesh.py b/tools/tesh/tesh.py index a7a760a8d6..8f1cb4c022 100755 --- a/tools/tesh/tesh.py +++ b/tools/tesh/tesh.py @@ -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)