aboutsummaryrefslogtreecommitdiff
path: root/bin/test-website
diff options
context:
space:
mode:
authorPjotr Prins2016-10-11 12:11:32 +0000
committerPjotr Prins2016-10-11 12:11:32 +0000
commitf942b4b6c0818010be9b9d245d9e02d2f466f29e (patch)
tree86650fa8fa7836e7d4c39907174dba98a39c59e9 /bin/test-website
parent420fd69ceda63871e9f6755112769c5615ed45f6 (diff)
parentccfe1f2e1afac31de9d1b2f34ad66ed77a517202 (diff)
downloadgenenetwork2-f942b4b6c0818010be9b9d245d9e02d2f466f29e.tar.gz
Merge branch 'testing' into chfi
Diffstat (limited to 'bin/test-website')
-rwxr-xr-xbin/test-website12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/test-website b/bin/test-website
index c9a72a5e..be223d94 100755
--- a/bin/test-website
+++ b/bin/test-website
@@ -52,12 +52,12 @@ opts = OptionParser.new do |o|
options[:link_checker] = true
end
- o.on('--navigation-test', 'Check for navigation') do
- options[:navigation_test] = true
+ o.on('--navigation', 'Check for navigation') do
+ options[:navigation] = true
end
- o.on('--mapping-test', 'Check for mapping') do
- options[:mapping_test] = true
+ o.on('--mapping', 'Check for mapping') do
+ options[:mapping] = true
end
o.on('--skip-broken', 'Skip tests that are known to be broken') do
@@ -98,7 +98,7 @@ $: << File.join(libpath,'test/lib')
require 'main_web_functionality'
-if options[:all] or options[:mapping_test]
+if options[:all] or options[:mapping]
require 'mapping'
end
@@ -106,6 +106,6 @@ if options[:all] or options[:link_checker]
require 'link_checker'
end
-if options[:all] or options[:navigation_test]
+if options[:all] or options[:navigation]
require 'navigation'
end