• M
    tests: Don't add extra padding if counter mod 40 is 0 · 8a7783c1
    Matthias Bolte 提交于
    This change only affects the output of tests that have an exact
    multiple of 40 test cases. For example the domainschematest currently:
    
    TEST: domainschematest
          ........................................ 40
          ........................................ 80
          ........................................ 120
          ........................................ 160
          ........................................                                         200 OK
    PASS: domainschematest
    
    It outputs additional 40 spaces on the last line.
    
    The domainschematest output is fixed by the change in test-lib.sh. The
    change in testutils.c fixes this for tests written in C. Currently no
    C test has an exact multiple of 40 test cases, but I checked it and
    the same problem exists there.
    
    This patch stops that in both cases.
    8a7783c1
testutils.c 14.6 KB