Changeset 9574


Ignore:
Timestamp:
Feb 1, 2015, 2:52:33 PM (9 years ago)
Author:
steve
Message:

Picked a few errors in original test_all script

Location:
trunk/anuga_core/source/anuga
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/parallel/tests/test_all.py

    r9566 r9574  
    2323#List files that should be excluded from the testing process.
    2424#E.g. if they are known to fail and under development
    25 exclude_files = ['test_parallel_boyd_pipe_operator.py', 'test_parallel_boyd_box_op_apron.py']
     25exclude_files = []
    2626
    2727# Directories that should not be searched for test files.
  • trunk/anuga_core/source/anuga/utilities/tests/test_system_tools.py

    r9573 r9574  
    462462        This should work both from a sandpit with access to Subversion
    463463        and also in distributions where revision number has been stored
    464         explicitly in anuga.stored_version_info.version_info
     464        explicitly in version.py
    465465        """
    466466
    467467        x = get_revision_number()
    468         x = x.split('.')
    469 
    470         assert int(x[0])
    471         assert int(x[1])
    472         assert int(x[2])
     468
     469        try:
     470            y = x.split('.')
     471            assert int(y[0])
     472            assert int(y[1])
     473            assert int(y[2])
     474        except:
     475            assert int(x)
    473476
    474477################################################################################
Note: See TracChangeset for help on using the changeset viewer.