summaryrefslogtreecommitdiff
path: root/src/mongo/db/stats
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2019-06-19 11:36:50 -0400
committerAndrew Morrow <acm@mongodb.com>2019-06-20 14:31:23 -0400
commite3f4aa4cf938be00e33874408185767ad256a769 (patch)
treea6490e5fcd6912d46514b2657a1dc46a352fd943 /src/mongo/db/stats
parent065a8926202af35bd19a9e2974aaa18f341604fa (diff)
downloadmongo-e3f4aa4cf938be00e33874408185767ad256a769.tar.gz
SERVER-41809 Collapse unit tests on a per-directory basis
Diffstat (limited to 'src/mongo/db/stats')
-rw-r--r--src/mongo/db/stats/SConscript56
1 files changed, 16 insertions, 40 deletions
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',
+ ],
+)