forked from tungstenfabric/tf-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SConscript
42 lines (32 loc) · 1.23 KB
/
SConscript
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
#
# Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
#
import platform
import json
with open('ci_unittests.json') as f:
ci_unittests = json.load(f)
default_target_list = ci_unittests['default']['scons_test_targets']
default_cplusplus_target_list = \
ci_unittests['default_cplusplus']['scons_test_targets']
env = DefaultEnvironment()
SConscript(dirs=['lib', 'src'])
env['api_repo_path'] = '#/src/contrail-api-client'
SConscript(dirs=['../src/contrail-api-client'])
SConscript(dirs=['../src/contrail-analytics'])
env.Alias('controller/test', default_target_list)
env.Alias('controller/cplusplus_test', default_cplusplus_target_list)
env.Alias('controller/flaky-test', [
'controller/src/agent:flaky-test',
'controller/src/bfd:flaky-test',
'controller/src/bgp:flaky-test',
#'controller/src/config:test',
'controller/src/db:flaky-test',
'controller/src/dns:flaky-test',
'controller/src/ifmap:flaky-test',
'controller/src/xmpp:flaky-test',
'controller/src/config/device-manager:flaky-test',
'src/contrail-common/database/gendb:flaky-test',
'src/contrail-analytics/contrail-collector:flaky-test',
])
env.Alias('test', [ 'controller/test' ])
env.Alias('flaky-test', [ 'controller/flaky-test' ])