Show
Ignore:
Timestamp:
11/21/07 23:38:30 (17 years ago)
Author:
jerome
Message:

Improved readability of results.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/tests/gstests.py

    r501 r503  
    9292        size = computeSize(testfname) 
    9393        if size != mastersize : 
    94             sys.stdout.write("ERROR\n") 
     94            if not size : 
     95                sys.stdout.write("ERROR : Unsupported file format\n") 
     96            else :     
     97                sys.stdout.write("ERROR : Found %(size)i pages instead of %(mastersize)i\n" % locals()) 
    9598            failed += 1 
    9699        else :