(topDir, gitRevision, version)
| 200 | raise RuntimeError('%s is missing Implementation-Version inside its META-INF/MANIFEST.MF' % desc) |
| 201 | |
| 202 | notice = decodeUTF8(z.read(NOTICE_FILE_NAME)) |
| 203 | license = decodeUTF8(z.read(LICENSE_FILE_NAME)) |
| 204 | |
| 205 | if SOLR_LICENSE is None or SOLR_NOTICE is None: |
| 206 | raise RuntimeError('BUG in smokeTestRelease!') |
| 207 | if notice != SOLR_NOTICE: |
| 208 | raise RuntimeError('%s: %s contents doesn\'t match main NOTICE.txt' % \ |
| 209 | (desc, NOTICE_FILE_NAME)) |
| 210 | if license != SOLR_LICENSE: |
| 211 | raise RuntimeError('%s: %s contents doesn\'t match main LICENSE.txt' % \ |
| 212 | (desc, LICENSE_FILE_NAME)) |
| 213 | |
| 214 | |
| 215 | def normSlashes(path): |
| 216 | return path.replace(os.sep, '/') |
| 217 | |
| 218 | |
| 219 | def checkAllJARs(topDir, gitRevision, version): |
| 220 | print(' verify JAR metadata/identity/no javax.* or java.* classes...') |
no test coverage detected
searching dependent graphs…