make -f gmakefile test search=mat_tutorials-ex15_3 Fande Kong <[email protected]> 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 <[email protected]> > wrote: > >> And for more info >> >> make -f gmakefile.test help-test >> >> 2018-06-06 23:55 GMT+01:00 Jed Brown <[email protected]>: >> >>> Use search, as in >>> >>> make -f gmakefile test search=mat_% >>> >>> Often you'll want to be more specific. >>> >>> "Kong, Fande" <[email protected]> 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, >>> >> >>
