Ignore:
Timestamp:
Jan 27, 2015, 10:29:26 PM (10 years ago)
Author:
steve
Message:

Adding in setup.py files for each anuga sub module

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

Legend:

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

    r9424 r9514  
    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_failure.py', 'test_parallel_boyd_pipe_operator.py', 'test_parallel_boyd_box_op_apron.py']
     25exclude_files = ['test_parallel_boyd_pipe_operator.py', 'test_parallel_boyd_box_op_apron.py']
    2626
    2727# Directories that should not be searched for test files.
  • trunk/anuga_core/source/anuga/parallel/test/test_parallel_boyd_box_operator.py

    r9503 r9514  
    243243
    244244        if verbose: print 'P%d control_data = %s' %(myid, control_data)
    245     else:
     245    else:  # parallel
    246246        stage = domain.get_quantity('stage')
    247247       
     
    265265                if verbose:
    266266                    print 'P%d average stage, control = %s, actual = %s' %(myid, control_data[samples], average_stage)
    267 
    268267                    print 'P%d average xmom, control = %s, actual = %s' %(myid, control_data[samples+1], average_xmom)
    269 
    270268                    print 'P%d average ymom, control = %s, actual = %s' %(myid, control_data[samples+2], average_ymom)
    271 
    272269                    print 'P%d average volume, control = %s, actual = %s' %(myid, control_data[samples+3], average_volume)
    273 
    274270                    print 'P%d average depth, control = %s, actual = %s' %(myid, control_data[samples+4], average_depth)
    275 
    276271
    277272        assert(success)
     
    286281class Test_parallel_boyd_box_operator(unittest.TestCase):
    287282    def test_parallel_operator(self):
    288         #print "Expect this test to fail if not run from the parallel directory."
     283        #print "Expect this test to fail if not run from the parallel/test directory."
    289284        result = os.system("mpirun -np %d python test_parallel_boyd_box_operator.py" % nprocs)
    290285        assert_(result == 0)
Note: See TracChangeset for help on using the changeset viewer.