dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07266
Re: Testing
On Tue, Apr 08, 2008 at 09:05:38PM +0200, Johannes Ring wrote:
> On Tue, April 8, 2008 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.
>
> I had no problem here. This is what I did:
>
> scons -c
> cd test
> mkdir unit
> mv function graph mesh unit/
> cd ..
> scons -j5
>
> All three C++ tests was compiled.
>
> Johannes
ok, good. That's what I did (or at least what I think I did).
I'll try again tomorrow.
--
Anders
References