[petsc-dev] "Search" does not work in the testing system?

Scott Kruger kruger at txcorp.com
Wed Jan 27 17:50:18 CST 2021



You can change the 'test' target to 'print-test' to see the actual 
targets you'll be testing.

You can also just change your search string to src/snes/tutorials/ex1.c 
to grab all tests associated with ex1.c.

Scott

On 1/27/21 4:45 PM, Zhang, Hong via petsc-dev wrote:
> make PETSC_DIR=/Users/kongf/projects/moose4/petsc PETSC_ARCH=arch-darwin-c-debug -f gmakefile test search='snes_tutorials-ex1_*'
>
> or
>
> make PETSC_DIR=/Users/kongf/projects/moose4/petsc PETSC_ARCH=arch-darwin-c-debug -f gmakefile test globsearch='snes_tutorials-ex1_*’
>
> Hong (Mr.)
>
>> On Jan 27, 2021, at 5:21 PM, Fande Kong <fdkong.jd at gmail.com> wrote:
>>
>> Hi All,
>>
>> I want to run one particular SNES test using the following command-line:
>>
>> "make PETSC_DIR=/Users/kongf/projects/moose4/petsc PETSC_ARCH=arch-darwin-c-debug -f gmakefile test search='snes_tutorials-ex1'"
>>
>> I got the following output:
>>
>> "Using MAKEFLAGS: search=snes_tutorials-ex1% PETSC_ARCH=arch-darwin-c-debug PETSC_DIR=/Users/kongf/projects/moose4/petsc"
>>
>> But I did not see any useful test information.
>>
>> Could you kindly let me know what I did wrong?
>>
>> Thanks,
>>
>> Fande

-- 
Tech-X Corporation               kruger at txcorp.com
5621 Arapahoe Ave, Suite A       Phone: (720) 466-3196
Boulder, CO 80303                Fax:   (303) 448-7756

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20210127/e64606d1/attachment.html>


More information about the petsc-dev mailing list