mirror of https://github.com/apache/lucene.git
smokeTester: don't look for Contrib-Changes.html
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1347969 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2f7cf004fc
commit
5a837d9910
|
@ -286,17 +286,12 @@ def checkSigs(project, urlString, version, tmpDir, isSigned):
|
||||||
def testChanges(project, version, changesURLString):
|
def testChanges(project, version, changesURLString):
|
||||||
print ' check changes HTML...'
|
print ' check changes HTML...'
|
||||||
changesURL = None
|
changesURL = None
|
||||||
contribChangesURL = None
|
|
||||||
for text, subURL in getDirEntries(changesURLString):
|
for text, subURL in getDirEntries(changesURLString):
|
||||||
if text == 'Changes.html':
|
if text == 'Changes.html':
|
||||||
changesURL = subURL
|
changesURL = subURL
|
||||||
elif text == 'Contrib-Changes.html':
|
|
||||||
contribChangesURL = subURL
|
|
||||||
|
|
||||||
if changesURL is None:
|
if changesURL is None:
|
||||||
raise RuntimeError('did not see Changes.html link from %s' % changesURLString)
|
raise RuntimeError('did not see Changes.html link from %s' % changesURLString)
|
||||||
if contribChangesURL is None:
|
|
||||||
raise RuntimeError('did not see Contrib-Changes.html link from %s' % changesURLString)
|
|
||||||
|
|
||||||
s = load(changesURL)
|
s = load(changesURL)
|
||||||
checkChangesContent(s, version, changesURL, project, True)
|
checkChangesContent(s, version, changesURL, project, True)
|
||||||
|
|
Loading…
Reference in New Issue