← Back to team overview

dorsal team mailing list archive

Re: Tests

 

On Tue, Feb 8, 2011 at 1:37 PM, Harish Narayanan
<harish.mlists@xxxxxxxxx> wrote:
> On 2/8/11 1:34 PM, Garth N. Wells wrote:
>>
>>
>> On 08/02/11 12:32, Harish Narayanan wrote:
>>> On 2/8/11 1:08 PM, Garth N. Wells wrote:
>>>> It would be helpful if Dorsal would enable the DOLFIN tests. Doing
>>>> comprehensive testing on different platforms would then be
>>>> straightforward (with a simple 'make runtests').
>>>
>>> Is this as simple as adding a CMake flag, Johannes? If so, could you add
>>> it to dolfin.package?
>>>
>>
>> And probably add the code testing packages for installation. I wouldn't
>> bother with tests on OSs that don't have cppunit, etc, available as a
>> package.
>
> Ok.

I guess that adding

  TARGETS=('' install runtests)

in dolfin.package should do the trick. We would also need to set
-DDOLFIN_ENABLE_TESTING:BOOL=ON in CONFOPTS, unless we turn this on by
default in DOLFIN.

Johannes



Follow ups

References