mirror of https://github.com/perkeep/perkeep.git
d953dee008
Problem: make.go creates an isolated temp gopath ./tmp/build-gopath. The integration tests make use of that gopath (by running make.go) to build the tools, and run the test world in it. Similarly, devcam test uses make.go to setup that temp gopath, and runs the tests from the source files in that gopath. Consequently, when the integration tests are run through devcam test, even though they're run from the temp gopath, they would use the make.go in it, which would create a nested temp gopath (CAMLIROOT/tmp/build-gopath/src/camlistore.org/tmp/build-gopath) in which to run the tests. This patch addresses this issue by creating a new flag (-envGoPath), and the corresponding env var (CAMLI_MAKE_USEGOPATH), which tells make.go not to create a new temporary gopath (and hence not to mirror any files), and to rely on the already set GOPATH env var instead. Also refactored make.go a bit, and added a couple options and doc to devcam test. Change-Id: Ia8a5d7a31e6e317f05218d9e18fb886001cd19cb |
||
---|---|---|
.. | ||
example-blobs | ||
json-signing | ||
protocol | ||
publishing | ||
schema | ||
app-environment.txt | ||
blog-notes.txt | ||
environment-vars.txt | ||
overview.txt | ||
search-ui.txt | ||
terminology.txt |