← Back to team overview

dolfin team mailing list archive

Re: Testing

 

On Wed, Apr 09, 2008 at 02:36:26PM +0200, Johannes Ring wrote:
> On Tue, April 8, 2008 Ilmar Wilbers wrote:
> > Should we include some message in system/test.py (run_all.py) that
> > dolfin must be built with enableDemos=1 in addition to enableTests=1, or
> > should enableTests=1 automatically imply enableDemos=1?
> 
> Demos is now built when enableTest=1.
> 
> Johannes

Nice!

-- 
Anders

> > ilmar
> >
> > Anders Logg wrote:
> >> On Tue, Apr 08, 2008 at 08:20:07PM +0200, Johannes Ring wrote:
> >>> On Tue, April 8, 2008 Anders Logg wrote:
> >>>> Ilmar has added a script run_all.py that can be used to run all demos,
> >>>> both C++ and Python. The plan is to integrate this with the buildbot.
> >>>>
> >>>> I'd like to move this script (demo/run_all.py) to
> >>>>
> >>>>   test/system/test.py
> >>>>
> >>>> I'd also like to move all the unit tests from test to
> >>>>
> >>>>   test/unit/
> >>>>
> >>>> Then we need to add a top level script test/test.py that runs both the
> >>>> unit tests in test/unit and the systems tests in test/system.
> >>>>
> >>>> FFC has something similar (unit and regression tests, but we don't
> >>>> have any regression tests yet for DOLFIN).
> >>>>
> >>>> I tried moving the unit tests to test/unit, but got in trouble with
> >>>> the build system. Can someone help me out?
> >>> What exactly was the problem with the build system?
> >>>
> >>> Johannes
> >>
> >> Moving the things in test to test/unit and having them compile when
> >> typing scons enableTests=yes.
> >>
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
> >
> 
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev


References