Changeset 499 for pkpgcounter
- Timestamp:
- 11/21/07 22:33:40 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/tests/gstests.py
r498 r499 88 88 nbtests = len(testsuite) 89 89 for testfname in testsuite : 90 sys.stdout.write("Testing %(testfname)s ... " % locals()) 91 sys.stdout.flush() 90 92 size = computeSize(testfname) 91 93 if size != mastersize : 92 sys.std err.write("Incorrect parser for %(testfname)s\n" % locals())94 sys.stdout.write("ERROR\n") 93 95 failed += 1 94 96 else : 97 sys.stdout.write("OK\n") 95 98 passed += 1 96 99 print "Passed : %i %.2f" % (passed, 100.0 * passed / nbtests) … … 121 124 122 125 genTestSuite(infilename, "testsuite") 126 runTests(infilename, "testsuite") 123 127 124 128 if istemp :