Changeset 9514 for trunk/anuga_core/source/anuga/parallel
- Timestamp:
- Jan 27, 2015, 10:29:26 PM (10 years ago)
- 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 23 23 #List files that should be excluded from the testing process. 24 24 #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']25 exclude_files = ['test_parallel_boyd_pipe_operator.py', 'test_parallel_boyd_box_op_apron.py'] 26 26 27 27 # Directories that should not be searched for test files. -
trunk/anuga_core/source/anuga/parallel/test/test_parallel_boyd_box_operator.py
r9503 r9514 243 243 244 244 if verbose: print 'P%d control_data = %s' %(myid, control_data) 245 else: 245 else: # parallel 246 246 stage = domain.get_quantity('stage') 247 247 … … 265 265 if verbose: 266 266 print 'P%d average stage, control = %s, actual = %s' %(myid, control_data[samples], average_stage) 267 268 267 print 'P%d average xmom, control = %s, actual = %s' %(myid, control_data[samples+1], average_xmom) 269 270 268 print 'P%d average ymom, control = %s, actual = %s' %(myid, control_data[samples+2], average_ymom) 271 272 269 print 'P%d average volume, control = %s, actual = %s' %(myid, control_data[samples+3], average_volume) 273 274 270 print 'P%d average depth, control = %s, actual = %s' %(myid, control_data[samples+4], average_depth) 275 276 271 277 272 assert(success) … … 286 281 class Test_parallel_boyd_box_operator(unittest.TestCase): 287 282 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." 289 284 result = os.system("mpirun -np %d python test_parallel_boyd_box_operator.py" % nprocs) 290 285 assert_(result == 0)
Note: See TracChangeset
for help on using the changeset viewer.