3dda4ab35c
Summary: Lots of tests need the output of `yarn backend`. Before this commit, they tended to create it themselves. This was slow and wasteful, and also could in principle have race conditions (though in practice usually tended not to). This commit updates tests to respect a `SOURCECRED_BIN` environment variable indicating the path to an existing directory of backend applications. Closes #765. Test Plan: Running `yarn test --full` passes. Prepending `echo run >>/tmp/log &&` to the `backend` script in `package.json` and running `yarn test --full` results in a log file containing only one line, indicating that the script really is run only once. wchargin-branch: deduplicate-backend |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
SHARNESS_LICENSE | ||
aggregate-results.sh | ||
dummy.t | ||
sharness.sh | ||
test_build_static_site.t |