Skip to content

Commit

Permalink
Add encryption test
Browse files Browse the repository at this point in the history
Signed-off-by: Jarvis Zheng <[email protected]>
  • Loading branch information
Jarvis Zheng committed Jul 14, 2022
1 parent 4cebfc1 commit 4e852cd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1984,7 +1984,7 @@ db_basic_bench: $(OBJ_DIR)/microbench/db_basic_bench.o $(LIBRARY)
cache_reservation_manager_test: $(OBJ_DIR)/cache/cache_reservation_manager_test.o $(TEST_LIBRARY) $(LIBRARY)
$(AM_LINK)

encryption_test: encryption/encryption_test.o $(LIBOBJECTS) $(TESTHARNESS)
encryption_test: $(OBJ_DIR)/encryption/encryption_test.o $(TEST_LIBRARY) $(LIBRARY)
$(AM_LINK)

#-------------------------------------------------
Expand Down
7 changes: 7 additions & 0 deletions TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -1573,6 +1573,13 @@ ROCKS_TESTS = [
[],
[],
],
[
"encryption_test",
"encryption/encryption_test.cc",
"parallel",
[],
[],
],
[
"env_basic_test",
"env/env_basic_test.cc",
Expand Down
1 change: 1 addition & 0 deletions src.mk
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ TEST_MAIN_SOURCES = \
db/write_batch_test.cc \
db/write_callback_test.cc \
db/write_controller_test.cc \
encryption/encryption_test.cc \
env/env_basic_test.cc \
env/env_test.cc \
env/io_posix_test.cc \
Expand Down

0 comments on commit 4e852cd

Please sign in to comment.