← Back to team overview

dolfin team mailing list archive

Re: test

 

On Thu, Apr 03, 2008 at 07:48:45PM +0200, Ilmar Wilbers wrote:
> Anyone knows what it takes to get the tests under test/ running? Would 
> be nice to have the buildbot run these.

Looks like all that is needed is to make sure that the tests get
built. Maybe add enableTests=yes?

Then libcppunit-dev needs to be installed and -lcppunit must be added
when building.

Other than that, it seems to work to just run the top-level script
test.py which will recurse and run both C++ and Python unit tests.

> Any suggestions on how to use the demos as tests? We need to remove the 
> interactiveness. There is no X on fenics.org (buildbot). Viper will give 
> exit 1 if vtk is not installed, and will break the demos. Is there some 
> sort of if-test we could put around the plot statements? Or make viper 
> exit with a message and exit code 0 if no x is available?
 
Don't know. Ola?

-- 
Anders


Follow ups

References