sapling/eden/fs/integration
Wez Furlong 0a46f22289 allow tests to override the executable locations
Summary:
The default mode of detection assumes that the test runner par
will be the one from the eden dir.

In the watchman<->eden integration tests this is not the case, so we need
to provide a way to pass down the correct location.

The watchman tests (see D4323716) are using a TARGETS fragment like this:

```
eden_env = env.copy()
eden_env.update({
    'EDENFS_CLI_PATH': '$(location @/eden/fs/cli:cli)',
    'EDENFS_SERVER_PATH': '$(location @/eden/fs/service:edenfs)',
})

python_unittest(...
    env=eden_env,
    ...)
```

We may want to cut eden over to a similar construction, but I've left
that alone for the moment.

Reviewed By: simpkins

Differential Revision: D4323695

fbshipit-source-id: f48afa6eef82a806c7b10e187d41e6253039d612
2016-12-14 16:43:00 -08:00
..
lib allow tests to override the executable locations 2016-12-14 16:43:00 -08:00
basic_test.py eden: re-do overlay serialization 2016-09-09 16:57:58 -07:00
clone_test.py Add initial support for hooks akin to Git hooks for Eden. 2016-09-26 13:53:05 -07:00
health_test.py refactor the integration tests, and enable hg tests 2016-07-08 11:28:50 -07:00
hypothesis_simple_test.py some prep work for hypothesis testing 2016-10-14 07:26:13 -07:00
info_test.py normalize mount paths when doing config look-ups 2016-09-30 19:07:45 -07:00
materialized_query_test.py don't crash if getMaterializedEntries() is called with a bad mount point 2016-10-04 11:04:18 -07:00
oexcl_test.py add a decorator to replicate tests for all repository types 2016-07-08 11:28:50 -07:00
rc_test.py add ClientConfig method that compiles repository data 2016-08-05 12:50:29 -07:00
remount_test.py have daemon remount on start up 2016-08-05 12:50:32 -07:00
rename_test.py fix issue with renaming between different dirs 2016-09-26 13:52:25 -07:00
repo_test.py improvements to the repository command 2016-07-22 17:33:00 -07:00
sed_test.py improvements to the repository command 2016-07-22 17:33:00 -07:00
setattr_test.py fix flaky utime test 2016-09-02 08:57:05 -07:00
TARGETS some prep work for hypothesis testing 2016-10-14 07:26:13 -07:00
thrift_test.py use EdenMount::getFileInode() getSHA1ForPath() 2016-12-14 15:36:11 -08:00
unlink_test.py add a decorator to replicate tests for all repository types 2016-07-08 11:28:50 -07:00
xattr_test.py add a decorator to replicate tests for all repository types 2016-07-08 11:28:50 -07:00