forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
61 lines (56 loc) · 1.69 KB
/
BUILD
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
# Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
python_tests(
name = 'process_manager',
sources = ['test_process_manager.py'],
dependencies = [
'src/python/pants/testutil:test_base',
'src/python/pants/pantsd:process_manager',
],
)
python_tests(
name = 'pants_daemon',
sources = ['test_pants_daemon.py'],
dependencies = [
'src/python/pants/testutil:test_base',
'src/python/pants/bin',
'src/python/pants/pantsd:pants_daemon',
'src/python/pants/pantsd/service:pants_service',
'src/python/pants/util:contextutil',
],
)
python_tests(
name = 'pants_daemon_core',
sources = ['test_pants_daemon_core.py'],
dependencies = [
'src/python/pants/bin',
'src/python/pants/pantsd/service:pants_service',
'src/python/pants/pantsd:pants_daemon_core',
'src/python/pants/testutil:test_base'
],
)
python_library(
name = 'pantsd_integration_test_base',
sources = ['pantsd_integration_test_base.py'],
dependencies = [
'3rdparty/python:ansicolors',
'src/python/pants/pantsd:process_manager',
'src/python/pants/testutil:int-test',
'src/python/pants/testutil:process_test_util',
'src/python/pants/testutil:retry',
'src/python/pants/util:collections',
],
)
python_tests(
name = 'pantsd_integration',
sources = ['test_pantsd_integration.py'],
dependencies = [
':pantsd_integration_test_base',
'examples/src/python/example:hello_directory',
'testprojects/src/python:bad_requirements_directory',
'testprojects/src/python:coordinated_runs_directory',
'testprojects/src/python:print_env_directory',
],
tags = ['integration'],
timeout = 1020
)