Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Fargher <proglottis@gmail.com>2020-08-21 00:59:06 +0300
committerJames Fargher <proglottis@gmail.com>2020-08-21 00:59:06 +0300
commita7f84c7c8ea135881fd2cc6c7f48fdc487b125fb (patch)
treea5889cfdd7ded3ab3c5f05cec42e5bfd60879828
parent0fe0cfaccc979592610cbf65807f19b307957750 (diff)
parent2fd0c591d4a4fea89532910865e7a598def11a6e (diff)
Merge branch 'po-move-git-test-path' into 'master'
Move fake git path to test target Closes gitlab#239103 See merge request gitlab-org/gitaly!2490
-rw-r--r--Makefile3
-rw-r--r--changelogs/unreleased/po-move-git-test-path.yml5
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 236f3161c..a47aad1ec 100644
--- a/Makefile
+++ b/Makefile
@@ -114,7 +114,7 @@ find_go_packages = $(dir $(call find_go_sources, 's|[^/]*\.go||'))
unexport GOROOT
export GOBIN = ${BUILD_DIR}/bin
export GOPROXY ?= https://proxy.golang.org
-export PATH := ${SOURCE_DIR}/internal/testhelper/testdata/home/bin:${BUILD_DIR}/bin:${PATH}
+export PATH := ${BUILD_DIR}/bin:${PATH}
export GITALY_TESTING_GIT_BINARY ?= ${GIT}
.NOTPARALLEL:
@@ -168,6 +168,7 @@ binaries: assemble
prepare-tests: ${GITLAB_SHELL_DIR}/config.yml ${TEST_REPO} ${TEST_REPO_GIT} ${SOURCE_DIR}/.ruby-bundle
.PHONY: test
+test: export PATH := ${SOURCE_DIR}/internal/testhelper/testdata/home/bin:${PATH}
test: test-go rspec rspec-gitlab-shell
.PHONY: test-go
diff --git a/changelogs/unreleased/po-move-git-test-path.yml b/changelogs/unreleased/po-move-git-test-path.yml
new file mode 100644
index 000000000..cf4d48343
--- /dev/null
+++ b/changelogs/unreleased/po-move-git-test-path.yml
@@ -0,0 +1,5 @@
+---
+title: Move fake git path to test target
+merge_request: 2490
+author:
+type: fixed