aboutsummaryrefslogtreecommitdiff
path: root/bin/test-website
diff options
context:
space:
mode:
authorPjotr Prins2016-05-18 12:33:43 +0000
committerPjotr Prins2016-05-18 12:33:43 +0000
commit68c72a17918f074283dab0b10965267d6a915a64 (patch)
treee2137a4ceafb9a130c1f72849d3012b0bec12292 /bin/test-website
parent352fcb11d74ca00e372aec53696d574207dc5ace (diff)
parenta8945cc625f12e9cf733f469426bf0e4b8e83647 (diff)
downloadgenenetwork2-68c72a17918f074283dab0b10965267d6a915a64.tar.gz
Fix conflict
Diffstat (limited to 'bin/test-website')
-rwxr-xr-xbin/test-website9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/test-website b/bin/test-website
index 2585b465..aeab459b 100755
--- a/bin/test-website
+++ b/bin/test-website
@@ -25,6 +25,10 @@ opts = OptionParser.new do |o|
o.on('-l','--link-checker', 'Check for dead links') do
options[:link_checker] = true
end
+
+ o.on('-n','--navigation-test', 'Check for navigation test results') do
+ options[:navigation_test] = true
+ end
o.separator ""
o.on_tail('-h', '--help', 'display this help and exit') do
@@ -62,3 +66,8 @@ if options[:link_checker]
else
require 'main_web_functionality'
end
+
+if options[:navigation_test]
+ require 'NavigationTest'
+end
+