introduce a config option to hide results of install & test framework

This commit is contained in:
Martin Cech
2015-06-12 13:16:16 -04:00
parent 9a3e1f86db
commit 353ee2f22a
3 changed files with 5 additions and 1 deletions
+3
View File
@@ -103,6 +103,9 @@ require_login = False
# path to sendmail
sendmail_path = /usr/sbin/sendmail
# Enables displaying of test run results on repo pages.
#display_legacy_test_results = True
# Number of saved tool test results produced by the install and test
# framework for each repository.
#num_tool_test_results_saved = 5
+1
View File
@@ -64,6 +64,7 @@ class Configuration( object ):
self.len_file_path = resolve_path( kwargs.get( "len_file_path", os.path.join( self.tool_data_path, 'shared','ucsc','chrom') ), self.root )
self.ftp_upload_dir = kwargs.get( 'ftp_upload_dir', None )
# Install and test framework for testing tools contained in repositories.
self.display_legacy_test_results = string_as_bool( kwargs.get( 'display_legacy_test_results', True ) )
self.num_tool_test_results_saved = kwargs.get( 'num_tool_test_results_saved', 5 )
self.update_integrated_tool_panel = False
# Galaxy flavor Docker Image
@@ -1231,7 +1231,7 @@
</div>
</div>
%endif
%if tool_test_results_root_folder:
%if tool_test_results_root_folder and trans.app.config.tool_data_path:
${render_table_wrap_style( "test_environment" )}
<p/>
<div class="toolForm">