- Timestamp:
- Jun 17, 2010, 5:34:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/2010-projects/anuga_1d/test_all.py
r7840 r7855 23 23 24 24 # Directories that should not be searched for test files. 25 exclude_dirs = ['channel', # Special requirements 26 '.svn', # subversion 27 'props', 'wcprops', 'prop-base', 'text-base', 'tmp'] 25 exclude_dirs = ['channel', '.svn'] 26 28 27 29 28 … … 178 177 # @brief Check that the environment is sane. 179 178 # @note Stops here if there is an error. 180 def check_anuga_ import():179 def check_anuga_1d_import(): 181 180 try: 182 181 # importing something that loads quickly 183 import anuga .anuga_exceptions182 import anuga_1d.config 184 183 except ImportError: 185 print "Python cannot import ANUGA module."184 print "Python cannot import ANUGA_1D module." 186 185 print "Check you have followed all steps of its installation." 187 186 import sys … … 190 189 191 190 if __name__ == '__main__': 192 check_anuga_import() 191 check_anuga_1d_import() 192 193 print 'test-all' 193 194 194 195 if len(sys.argv) > 1 and sys.argv[1][0].upper() == 'V':
Note: See TracChangeset
for help on using the changeset viewer.