mirror of https://github.com/apache/lucene.git
LUCENE-8155: Disable Smoker Javadocs checking on Java 9 (like in Ant)
This commit is contained in:
parent
7d3fccefe6
commit
f70477db01
|
@ -732,9 +732,9 @@ def verifyUnpacked(java, project, artifact, unpackPath, gitRevision, version, te
|
||||||
java.run_java9('ant jar', '%s/compile.log' % unpackPath)
|
java.run_java9('ant jar', '%s/compile.log' % unpackPath)
|
||||||
testDemo(java.run_java9, isSrc, version, '9')
|
testDemo(java.run_java9, isSrc, version, '9')
|
||||||
|
|
||||||
print(' generate javadocs w/ Java 9...')
|
#print(' generate javadocs w/ Java 9...')
|
||||||
java.run_java9('ant javadocs', '%s/javadocs.log' % unpackPath)
|
#java.run_java9('ant javadocs', '%s/javadocs.log' % unpackPath)
|
||||||
checkJavadocpathFull('%s/build/docs' % unpackPath)
|
#checkJavadocpathFull('%s/build/docs' % unpackPath)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
os.chdir('solr')
|
os.chdir('solr')
|
||||||
|
@ -755,9 +755,9 @@ def verifyUnpacked(java, project, artifact, unpackPath, gitRevision, version, te
|
||||||
print(" run tests w/ Java 9 and testArgs='%s'..." % testArgs)
|
print(" run tests w/ Java 9 and testArgs='%s'..." % testArgs)
|
||||||
java.run_java9('ant clean test -Dtests.slow=false %s' % testArgs, '%s/test.log' % unpackPath)
|
java.run_java9('ant clean test -Dtests.slow=false %s' % testArgs, '%s/test.log' % unpackPath)
|
||||||
|
|
||||||
print(' generate javadocs w/ Java 9...')
|
#print(' generate javadocs w/ Java 9...')
|
||||||
java.run_java9('ant clean javadocs', '%s/javadocs.log' % unpackPath)
|
#java.run_java9('ant clean javadocs', '%s/javadocs.log' % unpackPath)
|
||||||
checkJavadocpathFull('%s/solr/build/docs' % unpackPath, False)
|
#checkJavadocpathFull('%s/solr/build/docs' % unpackPath, False)
|
||||||
|
|
||||||
print(' test solr example w/ Java 9...')
|
print(' test solr example w/ Java 9...')
|
||||||
java.run_java9('ant clean example', '%s/antexample.log' % unpackPath)
|
java.run_java9('ant clean example', '%s/antexample.log' % unpackPath)
|
||||||
|
|
Loading…
Reference in New Issue