mirror of https://github.com/apache/lucene.git
LUCENE-5822 fix smoke test for renamed README
This commit is contained in:
parent
2e56e7eb28
commit
5b484806a0
Binary file not shown.
|
@ -644,10 +644,14 @@ def verifyUnpacked(java, project, artifact, unpackPath, gitRevision, version, te
|
||||||
textFiles.append('BUILD')
|
textFiles.append('BUILD')
|
||||||
|
|
||||||
for fileName in textFiles:
|
for fileName in textFiles:
|
||||||
fileName += '.txt'
|
fileNameTxt = fileName + '.txt'
|
||||||
if fileName not in l:
|
fileNameMd = fileName + '.md'
|
||||||
raise RuntimeError('file "%s" is missing from artifact %s' % (fileName, artifact))
|
if fileNameTxt in l:
|
||||||
l.remove(fileName)
|
l.remove(fileNameTxt)
|
||||||
|
elif fileNameMd in l:
|
||||||
|
l.remove(fileNameMd)
|
||||||
|
else:
|
||||||
|
raise RuntimeError('file "%s".[txt|md] is missing from artifact %s' % (fileName, artifact))
|
||||||
|
|
||||||
if project == 'lucene':
|
if project == 'lucene':
|
||||||
if LUCENE_NOTICE is None:
|
if LUCENE_NOTICE is None:
|
||||||
|
|
Loading…
Reference in New Issue