1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
# -*- mode: python -*-
Import("env")
env = env.Clone()
# WorkingSet target and associated test
env.Library(
target = "working_set",
source = [
"working_set.cpp",
],
LIBDEPS = [
"$BUILD_DIR/mongo/base",
"$BUILD_DIR/mongo/db/bson/dotted_path_support",
"$BUILD_DIR/mongo/db/service_context",
],
)
env.CppUnitTest(
target = "working_set_test",
source = [
"working_set_test.cpp"
],
LIBDEPS = [
"working_set",
],
)
env.Library(
target = "scoped_timer",
source = [
"scoped_timer.cpp",
],
LIBDEPS = [
'$BUILD_DIR/mongo/util/net/network',
],
)
env.Library(
target='stagedebug_cmd',
source=[
'stagedebug_cmd.cpp'
],
LIBDEPS=[
"$BUILD_DIR/mongo/db/index/index_access_methods",
"$BUILD_DIR/mongo/db/query_exec",
],
LIBDEPS_PRIVATE=[
'$BUILD_DIR/mongo/db/commands/test_commands_enabled',
],
)
env.CppUnitTest(
target = "queued_data_stage_test",
source = [
"queued_data_stage_test.cpp",
],
LIBDEPS = [
"$BUILD_DIR/mongo/db/query_exec",
"$BUILD_DIR/mongo/db/serveronly",
"$BUILD_DIR/mongo/db/service_context_d",
"$BUILD_DIR/mongo/dbtests/mocklib",
"$BUILD_DIR/mongo/util/clock_source_mock",
],
)
env.CppUnitTest(
target = "sort_test",
source = [
"sort_test.cpp",
],
LIBDEPS = [
"$BUILD_DIR/mongo/db/query_exec",
"$BUILD_DIR/mongo/db/serveronly",
"$BUILD_DIR/mongo/db/service_context_d",
"$BUILD_DIR/mongo/dbtests/mocklib",
"$BUILD_DIR/mongo/db/query/collation/collator_factory_mock",
"$BUILD_DIR/mongo/db/query/collation/collator_interface_mock",
"$BUILD_DIR/mongo/util/clock_source_mock",
],
)
env.CppUnitTest(
target = "projection_exec_test",
source = [
"projection_exec_test.cpp",
],
LIBDEPS = [
"$BUILD_DIR/mongo/db/query_exec",
"$BUILD_DIR/mongo/db/query/collation/collator_interface_mock",
"$BUILD_DIR/mongo/db/query/query_test_service_context",
"$BUILD_DIR/mongo/db/serveronly",
"$BUILD_DIR/mongo/db/service_context_d",
],
)
|