2009-06-14 05:04:38 UTC
update: moved the anuga directories from 2.5 to /var/lib/python-support/python2.6/ which is Ubuntu's new place for them, the test_all.py ran better, by still failed:
Note that I ran as sudo because I got a number of 'permission denied' lines running as user.
== output ===========================
alex@Quadruped:/var/lib/python-support/python2.6/anuga$ sudo python test_all.py
Testing path: /var/lib/python-support/python2.6/anuga
The following directories will be skipped over:
.svn anuga_validation prop-base props pypar_dist text-base tmp
wcprops
Paths searched:
anuga abstract_2d_finite_volumes advection alpha_shape
caching coordinate_transforms culvert_flows damage_modelling
fit_interpolate geospatial_data maxasc order_boundary
load_mesh mesh_engine pmesh shallow_water
utilities
Files tested:
test_advection.py test_alpha_shape.py test_caching.py
test_cg_solve.py test_csv_tools.py test_culvert_class.py
test_culvert_polygons.py test_culvert_routines_box_10pct.py test_culvert_routines_box_1pct.py
test_culvert_routines_pipe_10pct.py test_culvert_routines_pipe_1pct.py test_data_audit.py
test_data_manager.py test_domain.py test_eq.py
test_ermapper.py test_fit.py test_general_mesh.py
test_generate_mesh.py test_generic_boundary_conditions.py test_geo_reference.py
test_geospatial_data.py test_ghost.py test_interpolate.py
test_inundation_damage.py test_lat_long_UTM_conversion.py test_loadASCII.py
test_maxasc.py test_mesh.py test_mesh_interface.py
test_most2nc.py test_neighbour_mesh.py test_numerical_tools.py
test_order_boundary.py test_pmesh2domain.py test_point.py
test_polygon.py test_quad.py test_quantity.py
test_redfearn.py test_region.py test_search_functions.py
test_shallow_water_domain.py test_smf.py test_sparse.py
test_system.py test_system_tools.py test_tsunami_okada.py
test_util.py test_xml_tools.py
/var/lib/python-support/python2.6/anuga/abstract_2d_finite_volumes/quantity.py:636: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert (len(values.shape) == 1 or num.allclose(values.shape[1:], 1),
/var/lib/python-support/python2.6/anuga/utilities/test_polygon.py:644: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert (inside, [0,1])
/var/lib/python-support/python2.6/anuga/utilities/test_polygon.py:649: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert (outside, [0,1])
/var/lib/python-support/python2.6/anuga/utilities/test_polygon.py:654: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert (inside, [1])
/var/lib/python-support/python2.6/anuga/utilities/test_polygon.py:659: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert (inside, [1,3])
/var/lib/python-support/python2.6/anuga/utilities/test_polygon.py:660: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert (outside, [0,2,4,5])
/var/lib/python-support/python2.6/anuga/abstract_2d_finite_volumes/test_quantity.py:1568: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert(quantity.centroid_values, 2.0*d_values + 3.0*c_values)
/var/lib/python-support/python2.6/anuga/abstract_2d_finite_volumes/test_quantity.py:2261: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert(quantity.get_values(location='unique vertices'), [0, 4, 2, 8, 6, 4])
EEEEEE................................................EEEE...........................E.EE.E..E.EE....EEFloating point exception
alex@Quadruped:/var/lib/python-support/python2.6/anuga$ sudo python test_all.py