From 3c39645662cca8467de11f32bb2d0032a0c4458e Mon Sep 17 00:00:00 2001 From: Xiangyu Yao Date: Mon, 19 Mar 2018 18:01:06 -0400 Subject: SERVER-33834 Add unit tests for WiredTigerRecoveryUnit --- src/mongo/db/storage/wiredtiger/SConscript | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/mongo/db/storage/wiredtiger/SConscript') diff --git a/src/mongo/db/storage/wiredtiger/SConscript b/src/mongo/db/storage/wiredtiger/SConscript index 81ac066b7fa..ab82be68684 100644 --- a/src/mongo/db/storage/wiredtiger/SConscript +++ b/src/mongo/db/storage/wiredtiger/SConscript @@ -128,6 +128,18 @@ if wiredtiger: ], ) + wtEnv.CppUnitTest( + target='storage_wiredtiger_recovery_unit_test', + source=[ + 'wiredtiger_recovery_unit_test.cpp', + ], + LIBDEPS=[ + 'storage_wiredtiger_mock', + '$BUILD_DIR/mongo/db/storage/recovery_unit_test_harness', + '$BUILD_DIR/mongo/util/clock_source_mock', + ] + ) + wtEnv.Library( target='additional_wiredtiger_record_store_tests', source=[ -- cgit v1.2.1