[petsc-dev] Is this a bug in test generation?

Pierre Jolivet pierre at joliv.et
Fri Aug 20 05:57:35 CDT 2021


That’s a long-standing issue that I personally bypass by setting the suffix in the test instead of at the testset scope.
But maybe that’s not working for you either?

Thanks,
Pierre

> On 20 Aug 2021, at 12:43 PM, Stefano Zampini <stefano.zampini at gmail.com> wrote:
> 
> Scott
> 
> This test is specified as
> 
>    testset:
>       suffix: expl
>       nsize: {{1 2}}
>       filter: grep -v "MPI processes" | grep -v " type:" | grep -v "Mat Object"
>       args: -ksp_converged_reason -view_explicit_mat -pc_type none -ksp_type {{cg gmres}}
>       test:
>         args: -mat_type aij
>       test:
>         requires: hypre
>         args: -mat_type hypre
> 
> It triggers an error here https://gitlab.com/petsc/petsc/-/jobs/1519558357 <https://gitlab.com/petsc/petsc/-/jobs/1519558357>, with a  CI configuration without hypre.
> Other testset instances works fine if any “require:" is both specified in the testset body and in the specific test.
> Is this supposed to work?
> 
> Thanks
> Stefano

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


More information about the petsc-dev mailing list