From 85d4f2c8b3bea2afc32809697010b9475fef7884 Mon Sep 17 00:00:00 2001 From: Yanqin Jin Date: Mon, 15 Mar 2021 15:01:27 -0700 Subject: [PATCH] Move a test file to a better location (#8054) Summary: As title. Pull Request resolved: https://github.com/facebook/rocksdb/pull/8054 Test Plan: make check Reviewed By: mrambacher Differential Revision: D27017955 Pulled By: riversand963 fbshipit-source-id: 829497d507bc89afbe982f8a8cf3555e52fd7098 --- CMakeLists.txt | 2 +- Makefile | 2 +- TARGETS | 2 +- db/{db_impl => }/db_secondary_test.cc | 0 src.mk | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename db/{db_impl => }/db_secondary_test.cc (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6fb9b79b2..81cec6633 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1102,7 +1102,7 @@ if(WITH_TESTS) db/db_options_test.cc db/db_properties_test.cc db/db_range_del_test.cc - db/db_impl/db_secondary_test.cc + db/db_secondary_test.cc db/db_sst_test.cc db/db_statistics_test.cc db/db_table_properties_test.cc diff --git a/Makefile b/Makefile index 98610a194..eaaa27d70 100644 --- a/Makefile +++ b/Makefile @@ -2020,7 +2020,7 @@ range_tombstone_fragmenter_test: $(OBJ_DIR)/db/range_tombstone_fragmenter_test.o sst_file_reader_test: $(OBJ_DIR)/table/sst_file_reader_test.o $(TEST_LIBRARY) $(LIBRARY) $(AM_LINK) -db_secondary_test: $(OBJ_DIR)/db/db_impl/db_secondary_test.o $(TEST_LIBRARY) $(LIBRARY) +db_secondary_test: $(OBJ_DIR)/db/db_secondary_test.o $(TEST_LIBRARY) $(LIBRARY) $(AM_LINK) block_cache_tracer_test: $(OBJ_DIR)/trace_replay/block_cache_tracer_test.o $(TEST_LIBRARY) $(LIBRARY) diff --git a/TARGETS b/TARGETS index 16356a862..61c48ef2c 100644 --- a/TARGETS +++ b/TARGETS @@ -1323,7 +1323,7 @@ ROCKS_TESTS = [ ], [ "db_secondary_test", - "db/db_impl/db_secondary_test.cc", + "db/db_secondary_test.cc", "serial", [], [], diff --git a/db/db_impl/db_secondary_test.cc b/db/db_secondary_test.cc similarity index 100% rename from db/db_impl/db_secondary_test.cc rename to db/db_secondary_test.cc diff --git a/src.mk b/src.mk index d8201f018..905e1784f 100644 --- a/src.mk +++ b/src.mk @@ -414,7 +414,7 @@ TEST_MAIN_SOURCES = \ db/db_options_test.cc \ db/db_properties_test.cc \ db/db_range_del_test.cc \ - db/db_impl/db_secondary_test.cc \ + db/db_secondary_test.cc \ db/db_sst_test.cc \ db/db_statistics_test.cc \ db/db_table_properties_test.cc \