summaryrefslogtreecommitdiff
path: root/qa/qa/specs/runner.rb
diff options
context:
space:
mode:
authorMark Lapierre <mlapierre@gitlab.com>2018-10-23 14:54:00 -0400
committerMark Lapierre <mlapierre@gitlab.com>2018-11-07 12:16:17 -0500
commit765ca40d65c6644d2158eb04898a0f3d6e316e31 (patch)
tree171da745cea50c3da1cdcd2f03b5fe58c3d9b1af /qa/qa/specs/runner.rb
parent912741cfea06ead8dad95d20f2f0adb955a55732 (diff)
downloadgitlab-ce-765ca40d65c6644d2158eb04898a0f3d6e316e31.tar.gz
Add e2e test of push over SSH over Git protocol v2ml-qa-git-protocol-v2-spec
Adds a new end-to-end test to check that Git protocol v2 can be used to push over SSH. Includes a change in Git::Repository to use Runtime::Env.debug? to enable logging instead of .verbose?
Diffstat (limited to 'qa/qa/specs/runner.rb')
-rw-r--r--qa/qa/specs/runner.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/qa/qa/specs/runner.rb b/qa/qa/specs/runner.rb
index ad397c13f0c..1bd8101c36d 100644
--- a/qa/qa/specs/runner.rb
+++ b/qa/qa/specs/runner.rb
@@ -25,6 +25,10 @@ module QA
args.push(%w[--tag ~skip_signup_disabled]) if QA::Runtime::Env.signup_disabled?
+ QA::Runtime::Env.supported_features.each_key do |key|
+ args.push(["--tag", "~requires_#{key}"]) unless QA::Runtime::Env.can_test? key
+ end
+
args.push(options)
args.push(DEFAULT_TEST_PATH_ARGS) unless options.any? { |opt| opt =~ %r{/features/} }