Update addBackcompatIndexes.py test running to gradle

This commit is contained in:
Jason Gerlowski 2020-10-09 11:32:49 -04:00
parent 5504f379b0
commit 2a9d704002
1 changed files with 1 additions and 4 deletions

View File

@ -164,10 +164,7 @@ def update_backcompat_tests(types, index_version, current_version):
def check_backcompat_tests(): def check_backcompat_tests():
print(' checking backcompat tests...', end='', flush=True) print(' checking backcompat tests...', end='', flush=True)
olddir = os.getcwd() scriptutil.run('./gradlew -p lucene/backward-codecs test --tests TestBackwardsCompatibility')
os.chdir('lucene/backward-codecs')
scriptutil.run('ant test -Dtestcase=TestBackwardsCompatibility')
os.chdir(olddir)
print('ok') print('ok')
def download_from_mirror(version, remotename, localname): def download_from_mirror(version, remotename, localname):