[petsc-dev] Testing system

Jed Brown jed at jedbrown.org
Wed Jun 6 18:18:43 CDT 2018


make -f gmakefile test search=mat_tutorials-ex15_3

Fande Kong <fdkong.jd at gmail.com> writes:

> Thanks, Patrick, and Jed,
>
> I appended the following to src/mat/examples/tutorials/ex15.c. Also added
> the output files: src/mat/examples/tutorials/output/ex15_3.out
> and src/mat/examples/tutorials/output/ex15_4.out.
>
> *   test:*
> *      suffix: 3*
> *      nsize: 4*
> *      requires: party*
> *      args: -mat_partitioning_type party*
>
> *   test:*
> *      suffix: 4*
> *      nsize: 3*
> *      requires: chaco*
> *      args: -mat_partitioning_type chaco*
>
>
> What are the right instructions I should follow to check if the added tests
> are actually working?
>
>
> Fande,
>
> On Wed, Jun 6, 2018 at 4:59 PM, Patrick Sanan <patrick.sanan at gmail.com>
> wrote:
>
>> And for more info
>>
>>     make -f gmakefile.test help-test
>>
>> 2018-06-06 23:55 GMT+01:00 Jed Brown <jed at jedbrown.org>:
>>
>>> Use search, as in
>>>
>>> make -f gmakefile test search=mat_%
>>>
>>> Often you'll want to be more specific.
>>>
>>> "Kong, Fande" <fande.kong at inl.gov> writes:
>>>
>>> > How to run tests for Mat examples only?
>>> >
>>> >  "make PETSC_ARCH=arch-darwin-c-opt-3.9.2  -f gmakefile.test test" run
>>> > everything.
>>> >
>>> > Thanks,
>>> >
>>> > Fande,
>>>
>>
>>


More information about the petsc-dev mailing list