[PATCH] libstdc++: Increase timeout for 23_containers/mdspan/submdspan tests [PR124290]

Jonathan Wakely jwakely@redhat.com
Thu Mar 12 09:42:44 GMT 2026


On Thu, 12 Mar 2026 at 09:05, Rainer Orth <ro@cebitec.uni-bielefeld.de> wrote:
>
> The 23_containers/mdspan/submdspan/selections tests often time out on
> Solaris/SPARC:
>
> WARNING: 23_containers/mdspan/submdspan/selections/left_padded.cc  -std=gnu++26 (test for excess errors) program timed out.
> FAIL: 23_containers/mdspan/submdspan/selections/left_padded.cc  -std=gnu++26 (test for excess errors)
>
> Even on an unloaded system, compilation takes ca. 4 minutes, close to
> the default DejaGnu timeout of 5 minutes.  Setting/increasing the
> timeout factor to 2 was not enough, so this patch raises it to 4 for all
> 5 tests.

It takes less than 30 seconds on my i7-9850H 2.60GHz x86_64 laptop, I
wonder what the reason for the difference is.

>
> Tested on sparc-sun-solaris2.11 and x86_64-pc-linux-gnu.
>
> Ok for trunk?

OK, but I'd like to know what's going on here.

>
>         Rainer
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
>
>
> 2026-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
>
>         libstdc++-v3:
>         PR libstdc++/124290
>         * testsuite/23_containers/mdspan/submdspan/selections/left_padded.cc:
>         Use dg-timeout-factor 4.
>         * testsuite/23_containers/mdspan/submdspan/selections/left.cc:
>         * testsuite/23_containers/mdspan/submdspan/selections/right_padded.cc:
>         * testsuite/23_containers/mdspan/submdspan/selections/right.cc:
>         Likewise.
>         * testsuite/23_containers/mdspan/submdspan/selections/stride.cc:
>         Likewise.
>



More information about the Libstdc++ mailing list