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
|
# -*- mode: python; -*-
Import("env")
env.Library(target="unittest",
source=[
'bson_test_util.cpp',
'death_test.cpp',
'temp_dir.cpp',
'unittest.cpp',
'unittest_helpers.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/base',
'$BUILD_DIR/mongo/util/options_parser/options_parser',
])
env.Library("unittest_main", ['unittest_main.cpp'],
LIBDEPS=[
'unittest',
])
env.Library(target="integration_test_main",
source=[
'integration_test_main.cpp',
],
LIBDEPS=[
'unittest',
'$BUILD_DIR/mongo/base',
'$BUILD_DIR/mongo/client/connection_string',
'$BUILD_DIR/mongo/util/options_parser/options_parser_init',
],
)
env.CppUnitTest('unittest_test', 'unittest_test.cpp')
env.CppUnitTest('fixture_test', 'fixture_test.cpp')
env.CppUnitTest('temp_dir_test', 'temp_dir_test.cpp')
env.Library(
target='concurrency',
source=[
'barrier.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/base',
],
)
env.Library(
target='task_executor_proxy',
source=[
'task_executor_proxy.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/executor/task_executor_interface',
],
)
|