From e3f4aa4cf938be00e33874408185767ad256a769 Mon Sep 17 00:00:00 2001 From: Andrew Morrow Date: Wed, 19 Jun 2019 11:36:50 -0400 Subject: SERVER-41809 Collapse unit tests on a per-directory basis --- src/mongo/db/stats/SConscript | 56 +++++++++++++------------------------------ 1 file changed, 16 insertions(+), 40 deletions(-) (limited to 'src/mongo/db/stats') diff --git a/src/mongo/db/stats/SConscript b/src/mongo/db/stats/SConscript index 9db2dd49bbe..88372bb685e 100644 --- a/src/mongo/db/stats/SConscript +++ b/src/mongo/db/stats/SConscript @@ -15,16 +15,6 @@ env.Library( ], ) -env.CppUnitTest( - target='timer_stats_test', - source=[ - 'timer_stats_test.cpp', - ], - LIBDEPS=[ - 'timer_stats', - ], -) - env.Library( target='top', source=[ @@ -36,26 +26,6 @@ env.Library( ], ) -env.CppUnitTest( - target='top_test', - source=[ - 'top_test.cpp', - ], - LIBDEPS=[ - 'top', - ], -) - -env.CppUnitTest( - target='operation_latency_histogram_test', - source=[ - 'operation_latency_histogram_test.cpp' - ], - LIBDEPS=[ - '$BUILD_DIR/mongo/base', - '$BUILD_DIR/mongo/db/stats/top', - ]) - env.Library( target='counters', source=[ @@ -98,16 +68,6 @@ env.Library( ], ) -env.CppUnitTest( - target='fill_locker_info_test', - source=[ - 'fill_locker_info_test.cpp', - ], - LIBDEPS=[ - 'fill_locker_info', - ], -) - env.Library( target='serveronly_stats', source=[ @@ -126,3 +86,19 @@ env.Library( '$BUILD_DIR/mongo/db/commands/server_status', ], ) + +env.CppUnitTest( + target='db_stats_test', + source=[ + 'fill_locker_info_test.cpp', + 'operation_latency_histogram_test.cpp', + 'timer_stats_test.cpp', + 'top_test.cpp', + ], + LIBDEPS=[ + '$BUILD_DIR/mongo/base', + 'fill_locker_info', + 'timer_stats', + 'top', + ], +) -- cgit v1.2.1