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:
Diffstat (limited to '_support/makegen.go')
-rw-r--r--_support/makegen.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/_support/makegen.go b/_support/makegen.go
index 575bf7104..3200f3d25 100644
--- a/_support/makegen.go
+++ b/_support/makegen.go
@@ -310,7 +310,7 @@ binaries: assemble
prepare-tests: {{ .TestRepo }} {{ .GitTestRepo }} ../.ruby-bundle
.PHONY: test
-test: test-go rspec
+test: test-go rspec rspec-gitlab-shell
.PHONY: test-go
test-go: prepare-tests
@@ -324,6 +324,14 @@ race-go: prepare-tests
rspec: assemble-go prepare-tests
cd {{ .GitalyRubyDir }} && bundle exec rspec
+.PHONY: rspec-gitlab-shell
+rspec-gitlab-shell: {{ .GitlabShellDir }}/config.yml assemble-go prepare-tests
+ # rspec in {{ .GitlabShellRelDir }}
+ @cd {{ .GitalyRubyDir }} && bundle exec bin/ruby-cd {{ .GitlabShellDir }} rspec
+
+{{ .GitlabShellDir }}/config.yml: {{ .GitlabShellDir }}/config.yml.example
+ cp $< $@
+
.PHONY: verify
verify: lint check-formatting staticcheck govendor-status notice-up-to-date govendor-tagged rubocop