mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
8884b46b3f
Summary: Move the integration tests from eden/fs/integration up one directory, to eden/integration. The main benefit is that this makes it easy to run just the edenfs unit tests by running "buck test eden/fs/...". These unit tests complete much more quickly than the full set of integration tests, providing a faster test suite to re-run repeatedly during development. The integration tests can be run with "buck test eden/integration/...", and the full set of tests can still be run with "buck test eden/..." Reviewed By: wez Differential Revision: D4490247 fbshipit-source-id: 5ceb5a19526f56e1cb926f352fa30ad2f1212c05
19 lines
498 B
Plaintext
19 lines
498 B
Plaintext
include_defs('//eden/DEFS')
|
|
|
|
for daemon_target, suffix in get_daemon_versions():
|
|
artifacts = get_test_env_and_deps(suffix)
|
|
python_unittest(
|
|
name = 'integration%s' % suffix,
|
|
srcs = glob(['*.py']),
|
|
env = dict(artifacts['env']).update({
|
|
'EDENFS_SUFFIX': suffix,
|
|
# 'HYPOTHESIS_VERBOSITY_LEVEL': 'verbose',
|
|
}),
|
|
deps = artifacts['deps'] + [
|
|
'@/eden/integration/lib:lib',
|
|
],
|
|
external_deps = [
|
|
'py-hypothesis'
|
|
],
|
|
)
|