[petsc-dev] tests with multiple loops

Scott Kruger kruger at txcorp.com
Thu Nov 15 16:47:37 CST 2018



Fixed in scott/fix-forloops.  Could you take a look and see if that 
works for you?

Thanks,
Scott


On 11/8/18 8:40 AM, Hapla Vaclav via petsc-dev wrote:
> Assume the following test
> 
>    test:
>      suffix: 4_tet_test_orient
>      nsize: 2
>      args: -dim 3 -distribute 0
>      args: -rotate_interface_0 {{0 1 2 11 12 13}}
>      args: -rotate_interface_1 {{0 1 2 11 12 13}}
> 
> I was thinking that it should produce all combinations of -rotate_interface_0 and -rotate_interface_1, i.e. 6*6*2 = 72 tests including diffs.
> 
> But instead it produces only 22 tests for me. I guess it's wrong, isn't it?
> 
> Thanks
> 
> Vaclav
> 
> ok dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-0_rotate_interface_1-0
> ok diff-dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-0_rotate_interface_1-0
> ok dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-0_rotate_interface_1-1
> ok diff-dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-0_rotate_interface_1-1
> ok dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-0_rotate_interface_1-2
> ok diff-dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-0_rotate_interface_1-2
> ok dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-0_rotate_interface_1-11
> ok diff-dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-0_rotate_interface_1-11
> ok dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-0_rotate_interface_1-12
> ok diff-dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-0_rotate_interface_1-12
> ok dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-0_rotate_interface_1-13
> ok diff-dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-0_rotate_interface_1-13
> ok dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-1_rotate_interface_1-13
> ok diff-dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-1_rotate_interface_1-13
> ok dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-2_rotate_interface_1-13
> ok diff-dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-2_rotate_interface_1-13
> ok dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-11_rotate_interface_1-13
> ok diff-dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-11_rotate_interface_1-13
> ok dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-12_rotate_interface_1-13
> ok diff-dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-12_rotate_interface_1-13
> ok dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-13_rotate_interface_1-13
> ok diff-dm_impls_plex_tests-ex18_4_tet_test_orient_rotate_interface_0-13_rotate_interface_1-13
> # -------------
> #   Summary
> # -------------
> # success 22/22 tests (100.0%)
> # failed 0/22 tests (0.0%)
> # todo 0/22 tests (0.0%)
> # skip 0/22 tests (0.0%)
> 

-- 
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