Changeset: 658621e089d9 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=658621e089d9
Modified Files:
        testing/Mtest.py.in
Branch: Jul2015
Log Message:

Fix calculation of trucated test name.


diffs (12 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -2693,7 +2693,7 @@ def DoIt(env, SERVER, CALL, TST, EXT, PR
             if len(TST) <= l:
                 s = '%-*s ' % (l, TST)
             else:
-                s = '%s...%s ' % (TST[:l/2 - 2], TST[-(l/2-1):])
+                s = '%s...%s ' % (TST[:l/2 - 2], TST[l/2+1-l:])
         else:
             s = '%-*s ' % (length, TST)
         STDOUT.write('%s%s' % (prompt(), s))
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to