[petsc-dev] tiny issues in test harness

Jakub Kruzik jakub.kruzik at vsb.cz
Thu Aug 16 10:30:43 CDT 2018


Also, test inside testset overwrites testset nsize with default nsize=1. 
E.g.

testset:
     nsize: 4
     test:
         #suffix: 1

is sequential. However, if I uncomment the suffix, it works as expected 
with 4 ranks.

Best,
Jakub

On 08/14/2018 12:05 PM, Jakub Kruzik wrote:
> Hi all,
>
> I started using test harness in PERMON and find out a couple of issues 
> with it.
>
> 1) multiple "args:" keywords in "test:" in "testset:" are ignored 
> except for the last "args:" keyword. See attached MWE and check it with
>
> python2 ${PETSC_DIR}/config/testparse.py -t ex1.c -v 3
>
> 2) single quotes can't be used in "filter:"  keyword. E.g. filter: 
> grep 'r =' generates
>
> petsc_testrun ... 'grep 'r =''
>
> resulting in filter being "grep r". Might be worth mentioning this in 
> dev manual and/or putting guards into parsing/petsc_testrun.
>
> Best,
>
> Jakub
>



More information about the petsc-dev mailing list