codemod: format TARGETS with buildifier [5/5] (D5092623)

Reviewed By: igorsugak

fbshipit-source-id: 906b744c179eb932f5a388b39f93209cecd50a80
main
Andrew Gallagher 8 years ago committed by Facebook Github Bot
parent 8721996065
commit 0fae3f5dd3
  1. 866
      TARGETS

@ -1,6 +1,9 @@
REPO_PATH = "internal_repo_rocksdb/repo/" REPO_PATH = "internal_repo_rocksdb/repo/"
BUCK_BINS = "buck-out/gen/" + REPO_PATH BUCK_BINS = "buck-out/gen/" + REPO_PATH
TEST_RUNNER = REPO_PATH + "buckifier/rocks_test_runner.sh" TEST_RUNNER = REPO_PATH + "buckifier/rocks_test_runner.sh"
rocksdb_compiler_flags = [ rocksdb_compiler_flags = [
"-msse", "-msse",
"-msse4.2", "-msse4.2",
@ -27,13 +30,13 @@ rocksdb_compiler_flags = [
] ]
rocksdb_external_deps = [ rocksdb_external_deps = [
('bzip2', None, 'bz2'), ("bzip2", None, "bz2"),
('snappy', None, "snappy"), ("snappy", None, "snappy"),
('zlib', None, 'z'), ("zlib", None, "z"),
('gflags', None, 'gflags'), ("gflags", None, "gflags"),
('lz4', None, 'lz4'), ("lz4", None, "lz4"),
('zstd', None), ("zstd", None),
('tbb', None), ("tbb", None),
("numa", "2.0.8", "numa"), ("numa", "2.0.8", "numa"),
("googletest", None, "gtest"), ("googletest", None, "gtest"),
] ]
@ -46,7 +49,6 @@ rocksdb_preprocessor_flags = [
cpp_library( cpp_library(
name = "rocksdb_lib", name = "rocksdb_lib",
headers = AutoHeaders.RECURSIVE_GLOB,
srcs = [ srcs = [
"cache/clock_cache.cc", "cache/clock_cache.cc",
"cache/lru_cache.cc", "cache/lru_cache.cc",
@ -63,13 +65,13 @@ cpp_library(
"db/convenience.cc", "db/convenience.cc",
"db/db_filesnapshot.cc", "db/db_filesnapshot.cc",
"db/db_impl.cc", "db/db_impl.cc",
"db/db_impl_write.cc",
"db/db_impl_compaction_flush.cc", "db/db_impl_compaction_flush.cc",
"db/db_impl_files.cc",
"db/db_impl_open.cc",
"db/db_impl_debug.cc", "db/db_impl_debug.cc",
"db/db_impl_experimental.cc", "db/db_impl_experimental.cc",
"db/db_impl_files.cc",
"db/db_impl_open.cc",
"db/db_impl_readonly.cc", "db/db_impl_readonly.cc",
"db/db_impl_write.cc",
"db/db_info_dumper.cc", "db/db_info_dumper.cc",
"db/db_iter.cc", "db/db_iter.cc",
"db/dbformat.cc", "db/dbformat.cc",
@ -166,6 +168,9 @@ cpp_library(
"table/table_properties.cc", "table/table_properties.cc",
"table/two_level_iterator.cc", "table/two_level_iterator.cc",
"tools/dump/db_dump_tool.cc", "tools/dump/db_dump_tool.cc",
"tools/ldb_cmd.cc",
"tools/ldb_tool.cc",
"tools/sst_dump_tool.cc",
"util/arena.cc", "util/arena.cc",
"util/auto_roll_logger.cc", "util/auto_roll_logger.cc",
"util/bloom.cc", "util/bloom.cc",
@ -201,10 +206,11 @@ cpp_library(
"utilities/blob_db/blob_db.cc", "utilities/blob_db/blob_db.cc",
"utilities/blob_db/blob_db_impl.cc", "utilities/blob_db/blob_db_impl.cc",
"utilities/blob_db/blob_db_options_impl.cc", "utilities/blob_db/blob_db_options_impl.cc",
"utilities/blob_db/blob_dump_tool.cc",
"utilities/blob_db/blob_file.cc", "utilities/blob_db/blob_file.cc",
"utilities/blob_db/blob_log_format.cc",
"utilities/blob_db/blob_log_reader.cc", "utilities/blob_db/blob_log_reader.cc",
"utilities/blob_db/blob_log_writer.cc", "utilities/blob_db/blob_log_writer.cc",
"utilities/blob_db/blob_log_format.cc",
"utilities/checkpoint/checkpoint_impl.cc", "utilities/checkpoint/checkpoint_impl.cc",
"utilities/compaction_filters/remove_emptyvalue_compactionfilter.cc", "utilities/compaction_filters/remove_emptyvalue_compactionfilter.cc",
"utilities/convenience/info_log_finder.cc", "utilities/convenience/info_log_finder.cc",
@ -246,219 +252,699 @@ cpp_library(
"utilities/ttl/db_ttl_impl.cc", "utilities/ttl/db_ttl_impl.cc",
"utilities/write_batch_with_index/write_batch_with_index.cc", "utilities/write_batch_with_index/write_batch_with_index.cc",
"utilities/write_batch_with_index/write_batch_with_index_internal.cc", "utilities/write_batch_with_index/write_batch_with_index_internal.cc",
"tools/ldb_cmd.cc",
"tools/ldb_tool.cc",
"tools/sst_dump_tool.cc",
"utilities/blob_db/blob_dump_tool.cc",
], ],
deps = [], headers = AutoHeaders.RECURSIVE_GLOB,
preprocessor_flags = rocksdb_preprocessor_flags,
compiler_flags = rocksdb_compiler_flags, compiler_flags = rocksdb_compiler_flags,
preprocessor_flags = rocksdb_preprocessor_flags,
deps = [],
external_deps = rocksdb_external_deps, external_deps = rocksdb_external_deps,
) )
cpp_library( cpp_library(
name = "rocksdb_test_lib", name = "rocksdb_test_lib",
headers = AutoHeaders.RECURSIVE_GLOB,
srcs = [ srcs = [
"db/db_test_util.cc",
"table/mock_table.cc", "table/mock_table.cc",
"util/fault_injection_test_env.cc", "util/fault_injection_test_env.cc",
"util/testharness.cc", "util/testharness.cc",
"util/testutil.cc", "util/testutil.cc",
"db/db_test_util.cc",
"utilities/col_buf_encoder.cc",
"utilities/col_buf_decoder.cc", "utilities/col_buf_decoder.cc",
"utilities/col_buf_encoder.cc",
"utilities/column_aware_encoding_util.cc", "utilities/column_aware_encoding_util.cc",
], ],
deps = [":rocksdb_lib"], headers = AutoHeaders.RECURSIVE_GLOB,
preprocessor_flags = rocksdb_preprocessor_flags,
compiler_flags = rocksdb_compiler_flags, compiler_flags = rocksdb_compiler_flags,
preprocessor_flags = rocksdb_preprocessor_flags,
deps = [":rocksdb_lib"],
external_deps = rocksdb_external_deps, external_deps = rocksdb_external_deps,
) )
cpp_library( cpp_library(
name = "rocksdb_tools_lib", name = "rocksdb_tools_lib",
headers = AutoHeaders.RECURSIVE_GLOB,
srcs = [ srcs = [
"tools/db_bench_tool.cc", "tools/db_bench_tool.cc",
"util/testutil.cc", "util/testutil.cc",
], ],
deps = [":rocksdb_lib"], headers = AutoHeaders.RECURSIVE_GLOB,
preprocessor_flags = rocksdb_preprocessor_flags,
compiler_flags = rocksdb_compiler_flags, compiler_flags = rocksdb_compiler_flags,
preprocessor_flags = rocksdb_preprocessor_flags,
deps = [":rocksdb_lib"],
external_deps = rocksdb_external_deps, external_deps = rocksdb_external_deps,
) )
cpp_library( cpp_library(
name = "env_basic_test_lib", name = "env_basic_test_lib",
headers = AutoHeaders.RECURSIVE_GLOB,
srcs = ["env/env_basic_test.cc"], srcs = ["env/env_basic_test.cc"],
deps = [":rocksdb_test_lib"], headers = AutoHeaders.RECURSIVE_GLOB,
preprocessor_flags = rocksdb_preprocessor_flags,
compiler_flags = rocksdb_compiler_flags, compiler_flags = rocksdb_compiler_flags,
preprocessor_flags = rocksdb_preprocessor_flags,
deps = [":rocksdb_test_lib"],
external_deps = rocksdb_external_deps, external_deps = rocksdb_external_deps,
) )
# [test_name, test_src, test_type] # [test_name, test_src, test_type]
ROCKS_TESTS = [['merger_test', 'table/merger_test.cc', 'serial'], ROCKS_TESTS = [
['cache_test', 'cache/cache_test.cc', 'serial'], [
['options_file_test', 'db/options_file_test.cc', 'serial'], "merger_test",
['compaction_picker_test', 'db/compaction_picker_test.cc', 'serial'], "table/merger_test.cc",
['db_log_iter_test', 'db/db_log_iter_test.cc', 'serial'], "serial",
['thread_list_test', 'util/thread_list_test.cc', 'serial'], ],
['table_properties_collector_test', [
'db/table_properties_collector_test.cc', "cache_test",
'serial'], "cache/cache_test.cc",
['document_db_test', 'utilities/document/document_db_test.cc', 'serial'], "serial",
['event_logger_test', 'util/event_logger_test.cc', 'serial'], ],
['coding_test', 'util/coding_test.cc', 'serial'], [
['statistics_test', 'monitoring/statistics_test.cc', 'serial'], "options_file_test",
['options_settable_test', 'options/options_settable_test.cc', 'serial'], "db/options_file_test.cc",
['sst_dump_test', 'tools/sst_dump_test.cc', 'serial'], "serial",
['column_aware_encoding_test', ],
'utilities/column_aware_encoding_test.cc', [
'serial'], "compaction_picker_test",
['db_iterator_test', 'db/db_iterator_test.cc', 'serial'], "db/compaction_picker_test.cc",
['db_sst_test', 'db/db_sst_test.cc', 'parallel'], "serial",
['geodb_test', 'utilities/geodb/geodb_test.cc', 'serial'], ],
['listener_test', 'db/listener_test.cc', 'serial'], [
['write_callback_test', 'db/write_callback_test.cc', 'serial'], "db_log_iter_test",
['version_set_test', 'db/version_set_test.cc', 'serial'], "db/db_log_iter_test.cc",
['full_filter_block_test', 'table/full_filter_block_test.cc', 'serial'], "serial",
['cleanable_test', 'table/cleanable_test.cc', 'serial'], ],
['checkpoint_test', 'utilities/checkpoint/checkpoint_test.cc', 'serial'], [
['compact_files_test', 'db/compact_files_test.cc', 'serial'], "thread_list_test",
['db_options_test', 'db/db_options_test.cc', 'serial'], "util/thread_list_test.cc",
['object_registry_test', 'utilities/object_registry_test.cc', 'serial'], "serial",
['auto_roll_logger_test', 'util/auto_roll_logger_test.cc', 'serial'], ],
['dbformat_test', 'db/dbformat_test.cc', 'serial'], [
['db_write_test', 'db/db_write_test.cc', 'serial'], "table_properties_collector_test",
['write_batch_with_index_test', "db/table_properties_collector_test.cc",
'utilities/write_batch_with_index/write_batch_with_index_test.cc', "serial",
'serial'], ],
['json_document_test', 'utilities/document/json_document_test.cc', 'serial'], [
['file_reader_writer_test', 'util/file_reader_writer_test.cc', 'serial'], "document_db_test",
['repair_test', 'db/repair_test.cc', 'serial'], "utilities/document/document_db_test.cc",
['persistent_cache_test', "serial",
'utilities/persistent_cache/persistent_cache_test.cc', ],
'parallel'], [
['db_bloom_filter_test', 'db/db_bloom_filter_test.cc', 'serial'], "event_logger_test",
['external_sst_file_basic_test', "util/event_logger_test.cc",
'db/external_sst_file_basic_test.cc', "serial",
'serial'], ],
['options_test', 'options/options_test.cc', 'serial'], [
['perf_context_test', 'db/perf_context_test.cc', 'serial'], "coding_test",
['db_block_cache_test', 'db/db_block_cache_test.cc', 'serial'], "util/coding_test.cc",
['heap_test', 'util/heap_test.cc', 'serial'], "serial",
['db_test2', 'db/db_test2.cc', 'serial'], ],
['filelock_test', 'util/filelock_test.cc', 'serial'], [
['write_controller_test', 'db/write_controller_test.cc', 'serial'], "statistics_test",
['compaction_iterator_test', 'db/compaction_iterator_test.cc', 'serial'], "monitoring/statistics_test.cc",
['spatial_db_test', 'utilities/spatialdb/spatial_db_test.cc', 'serial'], "serial",
['c_test', 'db/c_test.c', 'serial'], ],
['range_del_aggregator_test', 'db/range_del_aggregator_test.cc', 'serial'], [
['date_tiered_test', 'utilities/date_tiered/date_tiered_test.cc', 'serial'], "options_settable_test",
['ldb_cmd_test', 'tools/ldb_cmd_test.cc', 'serial'], "options/options_settable_test.cc",
['db_test', 'db/db_test.cc', 'parallel'], "serial",
['block_based_filter_block_test', ],
'table/block_based_filter_block_test.cc', [
'serial'], "sst_dump_test",
['merge_test', 'db/merge_test.cc', 'serial'], "tools/sst_dump_test.cc",
['bloom_test', 'util/bloom_test.cc', 'serial'], "serial",
['block_test', 'table/block_test.cc', 'serial'], ],
['cuckoo_table_builder_test', 'table/cuckoo_table_builder_test.cc', 'serial'], [
['backupable_db_test', "column_aware_encoding_test",
'utilities/backupable/backupable_db_test.cc', "utilities/column_aware_encoding_test.cc",
'parallel'], "serial",
['db_flush_test', 'db/db_flush_test.cc', 'serial'], ],
['filename_test', 'db/filename_test.cc', 'serial'], [
['cuckoo_table_reader_test', 'table/cuckoo_table_reader_test.cc', 'serial'], "db_iterator_test",
['slice_transform_test', 'util/slice_transform_test.cc', 'serial'], "db/db_iterator_test.cc",
['cuckoo_table_db_test', 'db/cuckoo_table_db_test.cc', 'serial'], "serial",
['inlineskiplist_test', 'memtable/inlineskiplist_test.cc', 'parallel'], ],
['optimistic_transaction_test', [
'utilities/transactions/optimistic_transaction_test.cc', "db_sst_test",
'serial'], "db/db_sst_test.cc",
['hash_table_test', "parallel",
'utilities/persistent_cache/hash_table_test.cc', ],
'serial'], [
['db_dynamic_level_test', 'db/db_dynamic_level_test.cc', 'serial'], "geodb_test",
['option_change_migration_test', "utilities/geodb/geodb_test.cc",
'utilities/option_change_migration/option_change_migration_test.cc', "serial",
'serial'], ],
['db_inplace_update_test', 'db/db_inplace_update_test.cc', 'serial'], [
['autovector_test', 'util/autovector_test.cc', 'serial'], "listener_test",
['db_iter_test', 'db/db_iter_test.cc', 'serial'], "db/listener_test.cc",
['flush_job_test', 'db/flush_job_test.cc', 'serial'], "serial",
['wal_manager_test', 'db/wal_manager_test.cc', 'serial'], ],
['write_batch_test', 'db/write_batch_test.cc', 'serial'], [
['crc32c_test', 'util/crc32c_test.cc', 'serial'], "write_callback_test",
['rate_limiter_test', 'util/rate_limiter_test.cc', 'serial'], "db/write_callback_test.cc",
['external_sst_file_test', 'db/external_sst_file_test.cc', 'parallel'], "serial",
['compaction_job_test', 'db/compaction_job_test.cc', 'serial'], ],
['mock_env_test', 'env/mock_env_test.cc', 'serial'], [
['db_table_properties_test', 'db/db_table_properties_test.cc', 'serial'], "version_set_test",
['db_compaction_test', 'db/db_compaction_test.cc', 'parallel'], "db/version_set_test.cc",
['arena_test', 'util/arena_test.cc', 'serial'], "serial",
['stringappend_test', ],
'utilities/merge_operators/string_append/stringappend_test.cc', [
'serial'], "full_filter_block_test",
['reduce_levels_test', 'tools/reduce_levels_test.cc', 'serial'], "table/full_filter_block_test.cc",
['prefix_test', 'db/prefix_test.cc', 'serial'], "serial",
['ttl_test', 'utilities/ttl/ttl_test.cc', 'serial'], ],
['merge_helper_test', 'db/merge_helper_test.cc', 'serial'], [
['file_indexer_test', 'db/file_indexer_test.cc', 'serial'], "cleanable_test",
['db_statistics_test', 'db/db_statistics_test.cc', 'serial'], "table/cleanable_test.cc",
['memory_test', 'utilities/memory/memory_test.cc', 'serial'], "serial",
['log_test', 'db/log_test.cc', 'serial'], ],
['env_timed_test', 'utilities/env_timed_test.cc', 'serial'], [
['deletefile_test', 'db/deletefile_test.cc', 'serial'], "checkpoint_test",
['partitioned_filter_block_test', "utilities/checkpoint/checkpoint_test.cc",
'table/partitioned_filter_block_test.cc', "serial",
'serial'], ],
['comparator_db_test', 'db/comparator_db_test.cc', 'serial'], [
['compaction_job_stats_test', 'db/compaction_job_stats_test.cc', 'serial'], "compact_files_test",
['thread_local_test', 'util/thread_local_test.cc', 'serial'], "db/compact_files_test.cc",
['version_builder_test', 'db/version_builder_test.cc', 'serial'], "serial",
['db_range_del_test', 'db/db_range_del_test.cc', 'serial'], ],
['table_test', 'table/table_test.cc', 'parallel'], [
['db_tailing_iter_test', 'db/db_tailing_iter_test.cc', 'serial'], "db_options_test",
['db_compaction_filter_test', 'db/db_compaction_filter_test.cc', 'parallel'], "db/db_options_test.cc",
['options_util_test', 'utilities/options/options_util_test.cc', 'serial'], "serial",
['dynamic_bloom_test', 'util/dynamic_bloom_test.cc', 'serial'], ],
['db_basic_test', 'db/db_basic_test.cc', 'serial'], [
['db_merge_operator_test', 'db/db_merge_operator_test.cc', 'serial'], "object_registry_test",
['manual_compaction_test', 'db/manual_compaction_test.cc', 'parallel'], "utilities/object_registry_test.cc",
['delete_scheduler_test', 'util/delete_scheduler_test.cc', 'serial'], "serial",
['transaction_test', 'utilities/transactions/transaction_test.cc', 'serial'], ],
['db_io_failure_test', 'db/db_io_failure_test.cc', 'serial'], [
['corruption_test', 'db/corruption_test.cc', 'serial'], "auto_roll_logger_test",
['compact_on_deletion_collector_test', "util/auto_roll_logger_test.cc",
'utilities/table_properties_collectors/compact_on_deletion_collector_test.cc', "serial",
'serial'], ],
['env_test', 'env/env_test.cc', 'serial'], [
['db_wal_test', 'db/db_wal_test.cc', 'parallel'], "dbformat_test",
['timer_queue_test', 'util/timer_queue_test.cc', 'serial'], "db/dbformat_test.cc",
['sim_cache_test', 'utilities/simulator_cache/sim_cache_test.cc', 'serial'], "serial",
['db_memtable_test', 'db/db_memtable_test.cc', 'serial'], ],
['db_universal_compaction_test', [
'db/db_universal_compaction_test.cc', "db_write_test",
'parallel'], "db/db_write_test.cc",
['histogram_test', 'monitoring/histogram_test.cc', 'serial'], "serial",
['util_merge_operators_test', ],
'utilities/util_merge_operators_test.cc', [
'serial'], "write_batch_with_index_test",
['fault_injection_test', 'db/fault_injection_test.cc', 'parallel'], "utilities/write_batch_with_index/write_batch_with_index_test.cc",
['env_basic_test', 'env/env_basic_test.cc', 'serial'], "serial",
['iostats_context_test', 'monitoring/iostats_context_test.cc', 'serial'], ],
['memtable_list_test', 'db/memtable_list_test.cc', 'serial'], [
['column_family_test', 'db/column_family_test.cc', 'serial'], "json_document_test",
['db_properties_test', 'db/db_properties_test.cc', 'serial'], "utilities/document/json_document_test.cc",
['version_edit_test', 'db/version_edit_test.cc', 'serial'], "serial",
['skiplist_test', 'memtable/skiplist_test.cc', 'serial'], ],
['lru_cache_test', 'cache/lru_cache_test.cc', 'serial'], [
['plain_table_db_test', 'db/plain_table_db_test.cc', 'serial']] "file_reader_writer_test",
"util/file_reader_writer_test.cc",
"serial",
],
[
"repair_test",
"db/repair_test.cc",
"serial",
],
[
"persistent_cache_test",
"utilities/persistent_cache/persistent_cache_test.cc",
"parallel",
],
[
"db_bloom_filter_test",
"db/db_bloom_filter_test.cc",
"serial",
],
[
"external_sst_file_basic_test",
"db/external_sst_file_basic_test.cc",
"serial",
],
[
"options_test",
"options/options_test.cc",
"serial",
],
[
"perf_context_test",
"db/perf_context_test.cc",
"serial",
],
[
"db_block_cache_test",
"db/db_block_cache_test.cc",
"serial",
],
[
"heap_test",
"util/heap_test.cc",
"serial",
],
[
"db_test2",
"db/db_test2.cc",
"serial",
],
[
"filelock_test",
"util/filelock_test.cc",
"serial",
],
[
"write_controller_test",
"db/write_controller_test.cc",
"serial",
],
[
"compaction_iterator_test",
"db/compaction_iterator_test.cc",
"serial",
],
[
"spatial_db_test",
"utilities/spatialdb/spatial_db_test.cc",
"serial",
],
[
"c_test",
"db/c_test.c",
"serial",
],
[
"range_del_aggregator_test",
"db/range_del_aggregator_test.cc",
"serial",
],
[
"date_tiered_test",
"utilities/date_tiered/date_tiered_test.cc",
"serial",
],
[
"ldb_cmd_test",
"tools/ldb_cmd_test.cc",
"serial",
],
[
"db_test",
"db/db_test.cc",
"parallel",
],
[
"block_based_filter_block_test",
"table/block_based_filter_block_test.cc",
"serial",
],
[
"merge_test",
"db/merge_test.cc",
"serial",
],
[
"bloom_test",
"util/bloom_test.cc",
"serial",
],
[
"block_test",
"table/block_test.cc",
"serial",
],
[
"cuckoo_table_builder_test",
"table/cuckoo_table_builder_test.cc",
"serial",
],
[
"backupable_db_test",
"utilities/backupable/backupable_db_test.cc",
"parallel",
],
[
"db_flush_test",
"db/db_flush_test.cc",
"serial",
],
[
"filename_test",
"db/filename_test.cc",
"serial",
],
[
"cuckoo_table_reader_test",
"table/cuckoo_table_reader_test.cc",
"serial",
],
[
"slice_transform_test",
"util/slice_transform_test.cc",
"serial",
],
[
"cuckoo_table_db_test",
"db/cuckoo_table_db_test.cc",
"serial",
],
[
"inlineskiplist_test",
"memtable/inlineskiplist_test.cc",
"parallel",
],
[
"optimistic_transaction_test",
"utilities/transactions/optimistic_transaction_test.cc",
"serial",
],
[
"hash_table_test",
"utilities/persistent_cache/hash_table_test.cc",
"serial",
],
[
"db_dynamic_level_test",
"db/db_dynamic_level_test.cc",
"serial",
],
[
"option_change_migration_test",
"utilities/option_change_migration/option_change_migration_test.cc",
"serial",
],
[
"db_inplace_update_test",
"db/db_inplace_update_test.cc",
"serial",
],
[
"autovector_test",
"util/autovector_test.cc",
"serial",
],
[
"db_iter_test",
"db/db_iter_test.cc",
"serial",
],
[
"flush_job_test",
"db/flush_job_test.cc",
"serial",
],
[
"wal_manager_test",
"db/wal_manager_test.cc",
"serial",
],
[
"write_batch_test",
"db/write_batch_test.cc",
"serial",
],
[
"crc32c_test",
"util/crc32c_test.cc",
"serial",
],
[
"rate_limiter_test",
"util/rate_limiter_test.cc",
"serial",
],
[
"external_sst_file_test",
"db/external_sst_file_test.cc",
"parallel",
],
[
"compaction_job_test",
"db/compaction_job_test.cc",
"serial",
],
[
"mock_env_test",
"env/mock_env_test.cc",
"serial",
],
[
"db_table_properties_test",
"db/db_table_properties_test.cc",
"serial",
],
[
"db_compaction_test",
"db/db_compaction_test.cc",
"parallel",
],
[
"arena_test",
"util/arena_test.cc",
"serial",
],
[
"stringappend_test",
"utilities/merge_operators/string_append/stringappend_test.cc",
"serial",
],
[
"reduce_levels_test",
"tools/reduce_levels_test.cc",
"serial",
],
[
"prefix_test",
"db/prefix_test.cc",
"serial",
],
[
"ttl_test",
"utilities/ttl/ttl_test.cc",
"serial",
],
[
"merge_helper_test",
"db/merge_helper_test.cc",
"serial",
],
[
"file_indexer_test",
"db/file_indexer_test.cc",
"serial",
],
[
"db_statistics_test",
"db/db_statistics_test.cc",
"serial",
],
[
"memory_test",
"utilities/memory/memory_test.cc",
"serial",
],
[
"log_test",
"db/log_test.cc",
"serial",
],
[
"env_timed_test",
"utilities/env_timed_test.cc",
"serial",
],
[
"deletefile_test",
"db/deletefile_test.cc",
"serial",
],
[
"partitioned_filter_block_test",
"table/partitioned_filter_block_test.cc",
"serial",
],
[
"comparator_db_test",
"db/comparator_db_test.cc",
"serial",
],
[
"compaction_job_stats_test",
"db/compaction_job_stats_test.cc",
"serial",
],
[
"thread_local_test",
"util/thread_local_test.cc",
"serial",
],
[
"version_builder_test",
"db/version_builder_test.cc",
"serial",
],
[
"db_range_del_test",
"db/db_range_del_test.cc",
"serial",
],
[
"table_test",
"table/table_test.cc",
"parallel",
],
[
"db_tailing_iter_test",
"db/db_tailing_iter_test.cc",
"serial",
],
[
"db_compaction_filter_test",
"db/db_compaction_filter_test.cc",
"parallel",
],
[
"options_util_test",
"utilities/options/options_util_test.cc",
"serial",
],
[
"dynamic_bloom_test",
"util/dynamic_bloom_test.cc",
"serial",
],
[
"db_basic_test",
"db/db_basic_test.cc",
"serial",
],
[
"db_merge_operator_test",
"db/db_merge_operator_test.cc",
"serial",
],
[
"manual_compaction_test",
"db/manual_compaction_test.cc",
"parallel",
],
[
"delete_scheduler_test",
"util/delete_scheduler_test.cc",
"serial",
],
[
"transaction_test",
"utilities/transactions/transaction_test.cc",
"serial",
],
[
"db_io_failure_test",
"db/db_io_failure_test.cc",
"serial",
],
[
"corruption_test",
"db/corruption_test.cc",
"serial",
],
[
"compact_on_deletion_collector_test",
"utilities/table_properties_collectors/compact_on_deletion_collector_test.cc",
"serial",
],
[
"env_test",
"env/env_test.cc",
"serial",
],
[
"db_wal_test",
"db/db_wal_test.cc",
"parallel",
],
[
"timer_queue_test",
"util/timer_queue_test.cc",
"serial",
],
[
"sim_cache_test",
"utilities/simulator_cache/sim_cache_test.cc",
"serial",
],
[
"db_memtable_test",
"db/db_memtable_test.cc",
"serial",
],
[
"db_universal_compaction_test",
"db/db_universal_compaction_test.cc",
"parallel",
],
[
"histogram_test",
"monitoring/histogram_test.cc",
"serial",
],
[
"util_merge_operators_test",
"utilities/util_merge_operators_test.cc",
"serial",
],
[
"fault_injection_test",
"db/fault_injection_test.cc",
"parallel",
],
[
"env_basic_test",
"env/env_basic_test.cc",
"serial",
],
[
"iostats_context_test",
"monitoring/iostats_context_test.cc",
"serial",
],
[
"memtable_list_test",
"db/memtable_list_test.cc",
"serial",
],
[
"column_family_test",
"db/column_family_test.cc",
"serial",
],
[
"db_properties_test",
"db/db_properties_test.cc",
"serial",
],
[
"version_edit_test",
"db/version_edit_test.cc",
"serial",
],
[
"skiplist_test",
"memtable/skiplist_test.cc",
"serial",
],
[
"lru_cache_test",
"cache/lru_cache_test.cc",
"serial",
],
[
"plain_table_db_test",
"db/plain_table_db_test.cc",
"serial",
],
]
# Generate a test rule for each entry in ROCKS_TESTS # Generate a test rule for each entry in ROCKS_TESTS
for test_cfg in ROCKS_TESTS: for test_cfg in ROCKS_TESTS:
@ -485,12 +971,12 @@ for test_cfg in ROCKS_TESTS:
custom_unittest( custom_unittest(
name = "make_rocksdbjavastatic", name = "make_rocksdbjavastatic",
type = "simple",
command = ["internal_repo_rocksdb/make_rocksdbjavastatic.sh"], command = ["internal_repo_rocksdb/make_rocksdbjavastatic.sh"],
type = "simple",
) )
custom_unittest( custom_unittest(
name = "make_rocksdb_lite_release", name = "make_rocksdb_lite_release",
type = "simple",
command = ["internal_repo_rocksdb/make_rocksdb_lite_release.sh"], command = ["internal_repo_rocksdb/make_rocksdb_lite_release.sh"],
type = "simple",
) )

Loading…
Cancel
Save