[Dune] Running tests in dune modules
Christoph GrĂ¼ninger
christoph.grueninger at iws.uni-stuttgart.de
Mon Apr 15 15:58:24 CEST 2013
Hi Tilak,
go to ./dune-istl-2.2.0/dune/istl/test, type "make check" and all tests in the current folder and its subfolders will be build and executed.
If you still have problems, please tell me step by step what you did.
Christoph
Am Apr 15, 2013 um 4:54 AM schrieb Tilak Raj Singh <tilak72 at gmail.com>:
> Hi Christoph,
>
> Thanks for your quick reply.
> I use autotools but I couldnt get what you said.
> I was trying to run the test files in ./dune-istl-2.2.0/dune/istl/test/
> could you please tell me step by step procedure of compiling and running these files.
>
> I had build a sample module using duneproject scipt and ran it. it worked fine printng that "hello world" output. was trying to compile these test file but couldnt. so need help in these.
>
> Thanking you,
> Tilak Raj Singh
>
>
> On Mon, Apr 15, 2013 at 10:17 AM, Christoph GrĂ¼ninger <christoph.grueninger at iws.uni-stuttgart.de> wrote:
>> Hi Tilak,
>> if you use the autotools, try "make check" that will compile all tests and execute
>> them. You can have a look in the files Makefile.am which contains additional
>> arguments are must be given for some tests. Further reading would be the dune
>> build system tutorial, see http://www.dune-project.org/doc/index.html
>>
>> If you use CMake to build dune, you have to use "make test" or "ctest". There
>> you can specify which tests to include or exclude. The details how the tests
>> are called can be found in the CMakeList.txt files. There is currently no
>> dune specific documentation, the CTest documentation is good:
>> http://www.cmake.org/cmake/help/v2.8.10/ctest.html
>>
>> I hope that helps. You did not told us what you tried and what did not work.
>> So I am guessing what might help you. The information you provide the
>> better we can answer.
>>
>> Bye
>> Christoph
>>
>> --
>> [..] we shall send to the moon, 240,000 miles away from the control
>> station in Houston, a giant rocket [..] and then return it safely to
>> earth, re-entering the atmosphere at speeds of over 25,000 miles per
>> hour, causing heat about half that of the temperature of the sun,
>> almost as hot as it is here today, [..] then we must be bold.
>> [John F. Kennedy Moon Speech - September 12, 1962 - Rice Stadium]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20130415/e989cac4/attachment.htm>
More information about the Dune
mailing list