[petsc-dev] Wrong "failed tests" command

Jed Brown jed at jedbrown.org
Mon Oct 21 15:38:26 CDT 2019

Switch to search (we really don't need to invoke Python for this) and slap a % on the end of anything where there might be extra.

make -f gmakefile test globsearch='mat_tests-ex128_1 mat_tests-ex37_nsize-2_mat_type-mpibaij_mat_block_size%'

Scott Kruger <kruger at txcorp.com> writes:

> When we created the map of directory+test+variants to targets we did not 
> use enough delimiters to allow the inverse map to be determined so 
> creating the proper list of target names is an ill-posed problem.   The 
> globsearch was a way of trying to just catch more of them, but obviously 
> it still has a bug.  I'll look at it.
> Scott
> On 10/21/19 12:47 PM, Jed Brown wrote:
>> Yeah, it's missing the numeric block size.  The following works
>> /usr/bin/make -f gmakefile test globsearch='mat_tests-ex128_1 mat_tests-ex37_nsize-2_mat_type-mpibaij_mat_block_size-1'
>> Also, globsearch can be replaced by search in this usage.
>> "Smith, Barry F. via petsc-dev" <petsc-dev at mcs.anl.gov> writes:
>>>    May need more work on the tester infrastructure?
>>>> On Oct 21, 2019, at 12:30 PM, Pierre Jolivet via petsc-dev <petsc-dev at mcs.anl.gov> wrote:
>>>> Hello,
>>>> In this pipeline build log, https://gitlab.com/petsc/petsc/-/jobs/326525063, it shows that I can rerun failed tests using the following command:
>>>> /usr/bin/make -f gmakefile test globsearch='mat_tests-ex128_1 mat_tests-ex37_nsize-2_mat_type-mpibaij_mat_block_size mat_tests-ex37_nsize-1_mat_type-mpibaij_mat_block_size mat_tests-ex128_2 mat_tests-ex37_nsize-2_mat_type-baij_mat_block_size mat_tests-ex37_nsize-1_mat_type-baij_mat_block_size mat_tests-ex30_4 mat_tests-ex37_nsize-2_mat_type-sbaij_mat_block_size mat_tests-ex18_* mat_tests-ex76_3 mat_tests-ex37_nsize-2_mat_type-mpisbaij_mat_block_size mat_tests-ex37_nsize-1_mat_type-sbaij_mat_block_size’
>>>> If used, this command does not run any of the mat_test-ex37* tests.
>>>> Thanks,
>>>> Pierre
> -- 
> Tech-X Corporation               kruger at txcorp.com
> 5621 Arapahoe Ave, Suite A       Phone: (720) 974-1841
> Boulder, CO 80303                Fax:   (303) 448-7756

More information about the petsc-dev mailing list