adding bwc test indexes for 5.0.0

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661609 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan Ernst 2015-02-23 06:50:47 +00:00
parent 8dd508a544
commit 9b112b58d4
4 changed files with 4 additions and 2 deletions

View File

@ -34,8 +34,8 @@ def create_and_add_index(source, indextype, version, temp_dir):
'nocfs': 'index.%s-nocfs.zip'
}[indextype] % version
print(' creating %s...' % filename, end='', flush=True)
module = 'lucene/backward-codecs'
index_dir = os.path.join(module, 'src/test/org/apache/lucene/index')
module = 'backward-codecs'
index_dir = os.path.join('lucene', module, 'src/test/org/apache/lucene/index')
test_file = os.path.join(index_dir, filename)
if os.path.exists(os.path.join(index_dir, filename)):
print('uptodate')

View File

@ -208,6 +208,8 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
}
final static String[] oldNames = {
"5.0.0-cfs",
"5.0.0-nocfs"
};
final String[] unsupportedNames = {