commit/galaxy-central: greg: Log the location of the exclude list file for the tool shed's install and test framework.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/37ddaa4b6a11/ Changeset: 37ddaa4b6a11 User: greg Date: 2013-12-22 05:01:55 Summary: Log the location of the exclude list file for the tool shed's install and test framework. Affected #: 2 files diff -r 12cbce6f1a20d8eecabc4ef50ca4d44c89eea505 -r 37ddaa4b6a112c776b5ac011464b680c9cb50545 test/install_and_test_tool_shed_repositories/repositories_with_tools/functional_tests.py --- a/test/install_and_test_tool_shed_repositories/repositories_with_tools/functional_tests.py +++ b/test/install_and_test_tool_shed_repositories/repositories_with_tools/functional_tests.py @@ -64,7 +64,7 @@ # the database, new repositories, etc. galaxy_test_tmp_dir = os.path.join( test_home_directory, 'tmp' ) # File containing information about problematic repositories to exclude from test runs. -exclude_list_file = os.path.join( test_home_directory, 'exclude.xml' ) +exclude_list_file = os.path.abspath( os.path.join( test_home_directory, 'exclude.xml' ) ) default_galaxy_locales = 'en' default_galaxy_test_file_dir = "test-data" os.environ[ 'GALAXY_INSTALL_TEST_TMP_DIR' ] = galaxy_test_tmp_dir @@ -145,6 +145,7 @@ if error_message: return None, error_message # Handle repositories not to be tested. + log.debug( 'The exclude list file is defined as %s' % str( exclude_list_file ) ) if os.path.exists( exclude_list_file ): log.debug( 'Loading the list of repositories excluded from testing from the file %s...' % str( exclude_list_file ) ) # The following exclude_list will look something like this: @@ -153,6 +154,7 @@ # ( name, owner, changeset_revision if changeset_revision else None )]}] exclude_list_dicts = install_and_test_base_util.parse_exclude_list( exclude_list_file ) else: + log.debug( 'The exclude list file %s does not exist, so no repositories will be excluded from testing.' % str( exclude_list_file ) ) exclude_list_dicts = [] # Generate a test method that will use Twill to install each repository into the embedded Galaxy application that was # started up, installing repository and tool dependencies. Upon successful installation, generate a test case for each diff -r 12cbce6f1a20d8eecabc4ef50ca4d44c89eea505 -r 37ddaa4b6a112c776b5ac011464b680c9cb50545 test/install_and_test_tool_shed_repositories/tool_dependency_definitions/functional_tests.py --- a/test/install_and_test_tool_shed_repositories/tool_dependency_definitions/functional_tests.py +++ b/test/install_and_test_tool_shed_repositories/tool_dependency_definitions/functional_tests.py @@ -62,7 +62,7 @@ # the database, new repositories, etc. galaxy_test_tmp_dir = os.path.join( test_home_directory, 'tmp' ) # File containing information about problematic repositories to exclude from test runs. -exclude_list_file = os.path.join( test_home_directory, 'exclude.xml' ) +exclude_list_file = os.path.abspath( os.path.join( test_home_directory, 'exclude.xml' ) ) default_galaxy_locales = 'en' default_galaxy_test_file_dir = "test-data" os.environ[ 'GALAXY_INSTALL_TEST_TMP_DIR' ] = galaxy_test_tmp_dir @@ -83,6 +83,7 @@ install_and_test_base_util.get_repositories_to_install( install_and_test_base_util.galaxy_tool_shed_url, test_framework ) if error_message: return None, error_message + log.debug( 'The exclude list file is defined as %s' % str( exclude_list_file ) ) if os.path.exists( exclude_list_file ): log.debug( 'Loading the list of repositories excluded from testing from the file %s...' % str( exclude_list_file ) ) # The following exclude_list will look something like this: @@ -91,6 +92,7 @@ # ( name, owner, changeset_revision if changeset_revision else None )]}] exclude_list_dicts = install_and_test_base_util.parse_exclude_list( exclude_list_file ) else: + log.debug( 'The exclude list file %s does not exist, so no repositories will be excluded from testing.' % str( exclude_list_file ) ) exclude_list_dicts = [] # Generate a test method that will use Twill to install each repository into the embedded Galaxy application that was # started up, installing repository and tool dependencies. Upon successful installation, generate a test case for each Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org