mirror of https://github.com/apache/lucene.git
Update addVersion.py test running to gradle
This commit is contained in:
parent
f97208a790
commit
178d83d635
|
@ -162,18 +162,12 @@ def update_solrconfig(filename, matcher, new_version):
|
||||||
|
|
||||||
def check_lucene_version_tests():
|
def check_lucene_version_tests():
|
||||||
print(' checking lucene version tests...', end='', flush=True)
|
print(' checking lucene version tests...', end='', flush=True)
|
||||||
base_dir = os.getcwd()
|
run('./gradlew -p lucene/core test --tests TestVersion')
|
||||||
os.chdir('lucene/core')
|
|
||||||
run('ant test -Dtestcase=TestVersion')
|
|
||||||
os.chdir(base_dir)
|
|
||||||
print('ok')
|
print('ok')
|
||||||
|
|
||||||
def check_solr_version_tests():
|
def check_solr_version_tests():
|
||||||
print(' checking solr version tests...', end='', flush=True)
|
print(' checking solr version tests...', end='', flush=True)
|
||||||
base_dir = os.getcwd()
|
run('./gradlew -p solr/core test --tests TestLuceneMatchVersion')
|
||||||
os.chdir('solr/core')
|
|
||||||
run('ant test -Dtestcase=TestLuceneMatchVersion')
|
|
||||||
os.chdir(base_dir)
|
|
||||||
print('ok')
|
print('ok')
|
||||||
|
|
||||||
def read_config(current_version):
|
def read_config(current_version):
|
||||||
|
|
Loading…
Reference in New Issue