← Back to team overview

dolfin team mailing list archive

Re: Testing

 

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



Follow ups

References