The latest check-in broke the unit tests:

Running tests: unit
----------------------------------------------------------------------
Running unit tests for function
----------------------------------------------------------------------
C++:    OK (1 tests)
Python: *** Failed

Running unit tests for mesh
----------------------------------------------------------------------
C++:    OK (20 tests)
Python: *** Failed

One or more unit tests failed for function (Python):
Traceback (most recent call last):
  File "./test.py", line 9, in <module>
    from dolfin import *
  File 
"/scratch/buildbot/local/tmp/lib/python2.5/site-packages/dolfin/__init__.py", 
line 5, in <module>
    from assemble import *
  File 
"/scratch/buildbot/local/tmp/lib/python2.5/site-packages/dolfin/assemble.py", 
line 26, in <module>
    from dolfin import *
  File 
"/scratch/buildbot/local/tmp/lib/python2.5/site-packages/dolfin/dolfin.py", 
line 8895, in <module>
    _has_type_map[PETScVector] = has_type_petsc_vector
NameError: name 'has_type_petsc_vector' is not defined
One or more unit tests failed for mesh (Python):
Traceback (most recent call last):
  File "./test.py", line 9, in <module>
    from dolfin import *
  File 
"/scratch/buildbot/local/tmp/lib/python2.5/site-packages/dolfin/__init__.py", 
line 5, in <module>
    from assemble import *
  File 
"/scratch/buildbot/local/tmp/lib/python2.5/site-packages/dolfin/assemble.py", 
line 26, in <module>
    from dolfin import *
  File 
"/scratch/buildbot/local/tmp/lib/python2.5/site-packages/dolfin/dolfin.py", 
line 8895, in <module>
    _has_type_map[PETScVector] = has_type_petsc_vector
NameError: name 'has_type_petsc_vector' is not defined

ilmar

DOLFIN wrote:
> One or more new changesets pushed to the primary dolfin repository.
> A short summary of the last three changesets is included below.
>
> changeset:   3988:dee1d3ba1f89f46067c5ace88c18b8eb3eea3811
> tag:         tip
> user:        "Martin Sandve Alnæs <[EMAIL PROTECTED]>"
> date:        Mon Apr 14 11:49:21 2008 +0200
> files:       dolfin/fem/DirichletBC.cpp dolfin/la/GenericTensor.h 
> dolfin/la/PETScVector.cpp dolfin/la/uBlasVector.cpp dolfin/la/uBlasVector.h 
> dolfin/swig/dolfin_la_post.i
> description:
> Added
>   bool b = v.has_type<uBlasVector>();
> and
>   b = has_type(v, uBlasVector)
> like with down_cast.
>
> Improved down_cast in Python so you can also write
>   u = down_cast(v)
> which will iterate through all available types and pick the one that matches.
>
> Removed as_* in uBlasVector.
>
> (Some similar changes are left out for PETSc.)
>
>
> changeset:   3987:d3aed635a0925b5076a186d567872d26cf3a61d7
> user:        Johannes Ring <[EMAIL PROTECTED]>
> date:        Mon Apr 14 08:31:50 2008 +0200
> files:       dolfin/SConscript
> description:
> Added check for CppUnit.
>
>
> changeset:   3986:c2f2061fcf5faa932bed2905e50b0991fc494b97
> user:        "Anders Logg <[EMAIL PROTECTED]>"
> date:        Sun Apr 13 22:29:20 2008 +0200
> files:       dolfin/elements/element_library.inc dolfin/elements/elements.py 
> dolfin/elements/ffc_00.h dolfin/elements/ffc_01.h dolfin/elements/ffc_02.h 
> dolfin/elements/ffc_03.h dolfin/elements/ffc_04.h dolfin/elements/ffc_05.h 
> dolfin/elements/ffc_06.h dolfin/elements/ffc_07.h dolfin/elements/ffc_08.h 
> dolfin/elements/ffc_09.h dolfin/elements/ffc_10.h dolfin/elements/ffc_11.h 
> dolfin/elements/ffc_12.h dolfin/elements/ffc_13.h dolfin/elements/ffc_14.h 
> dolfin/elements/ffc_15.h dolfin/elements/ffc_16.h dolfin/elements/ffc_17.h 
> dolfin/elements/ffc_18.h dolfin/elements/ffc_19.h dolfin/elements/ffc_20.h 
> dolfin/elements/ffc_21.h dolfin/elements/ffc_22.h dolfin/elements/ffc_23.h 
> dolfin/elements/ffc_24.h dolfin/elements/ffc_L2proj_00.h 
> dolfin/elements/ffc_L2proj_01.h dolfin/elements/ffc_L2proj_02.h 
> dolfin/elements/ffc_L2proj_03.h dolfin/elements/ffc_L2proj_04.h 
> dolfin/elements/ffc_L2proj_05.h dolfin/elements/ffc_L2proj_06.h 
> dolfin/elements/ffc_L2proj_07.h dolfin/elements/ffc_L2proj_08.h 
> dolfin/elements/ffc_L2proj_09.h dolfin/elements/ffc_L2proj_10.h 
> dolfin/elements/ffc_L2proj_11.h dolfin/elements/ffc_L2proj_12.h 
> dolfin/elements/ffc_L2proj_13.h dolfin/elements/ffc_L2proj_14.h 
> dolfin/elements/ffc_L2proj_15.h dolfin/elements/ffc_L2proj_16.h 
> dolfin/elements/ffc_L2proj_17.h dolfin/elements/ffc_L2proj_18.h 
> dolfin/elements/ffc_L2proj_19.h dolfin/elements/ffc_L2proj_20.h 
> dolfin/elements/ffc_L2proj_21.h dolfin/elements/ffc_L2proj_22.h 
> dolfin/elements/ffc_L2proj_23.h dolfin/elements/ffc_L2proj_24.h 
> dolfin/elements/generate_elements.py dolfin/elements/generate_projections.py 
> dolfin/elements/projection_library.inc
> description:
> Add 1D elements for scalars to element library, might fix
> plotting problem with Viper in 1D. Vector elements on intervals
> seems to be broken in FFC.
>
> ----------------------------------------------------------------------
> For more details, visit http://www.fenics.org/hg/dolfin
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> DOLFIN-dev mailing list
> [email protected]
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>   

_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to