Changeset 9583
- Timestamp:
- Feb 1, 2015, 10:34:30 PM (10 years ago)
- Location:
- trunk/anuga_core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/anuga/test_all.py
r9568 r9583 33 33 34 34 # Directories that should not be searched for test files. 35 exclude_dirs = ['shallow_water_balanced' , 'parallel',# Special requirements35 exclude_dirs = ['shallow_water_balanced' , # Special requirements 36 36 '.svn', # subversion 37 37 'props', 'wcprops', 'prop-base', 'text-base', 'tmp'] -
trunk/anuga_core/test_all.py
r9567 r9583 1 from anuga.utilities.data_audit_wrapper import IP_verified2 from tempfile import mktemp3 4 1 import os 5 2 … … 12 9 print 13 10 print '======================= anuga tests =================================' 14 print 'Changing to', os.getcwd() # This is now different from buildroot 15 execfile('test_all.py') 11 print 'Changing to', os.getcwd() # This is now different from buildroot 16 12 13 os.system('python test_all.py') 17 14 15 os.chdir(buildroot) 18 16 19 20 # Try to run parallel tests if pypar is installed21 from anuga import pypar_available22 23 if pypar_available:24 os.chdir(buildroot)25 os.chdir('source')26 os.chdir('anuga')27 os.chdir('parallel')28 os.chdir('tests')29 print30 print '===================== anuga parallel tests =========================='31 print 'Changing to', os.getcwd()32 execfile('test_all.py')33 else:34 print 'anuga.parallel tests not run as pypar not installed'35 17 36 18
Note: See TracChangeset
for help on using the changeset viewer.