trunk/src/regtests/jedutil/jedtest.py
| r18906 | r18907 | |
| 97 | 97 | not os.path.exists(jedsPath) or |
| 98 | 98 | not os.path.exists(baselinePath) or |
| 99 | 99 | not os.path.exists(jedUtilApp)): |
| 100 | | print "One of the above paths does not exist. Aborting." % jedUtilApp |
| 100 | print "One of the above paths does not exist. Aborting. %s" % jedUtilApp |
| 101 | 101 | return 3 |
| 102 | 102 | |
| 103 | 103 | |
| r18906 | r18907 | |
| 129 | 129 | success = True |
| 130 | 130 | for test in tests: |
| 131 | 131 | if VERBOSE: |
| 132 | | print "Diffing the output from viewing the JED file: %s" % test.name |
| 132 | print "Diffing the output from viewing the JED file: %s" % os.path.basename(test.jedFile) |
| 133 | 133 | if not filecmp.cmp(test.outputFile, test.baselineFile): |
| 134 | 134 | success = False |
| 135 | | print "Test %s failed" % test.name |
| 135 | print "Test %s failed" % os.path.basename(test.jedFile) |
| 136 | 136 | |
| 137 | 137 | |
| 138 | 138 | # Report |