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.
Tested on sparc-sun-solaris2.11 and x86_64-pc-linux-gnu.
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.
// { dg-do run { target c++26 } }
+// { dg-timeout-factor 4 }
#include "testcases.h"
int
// { dg-do run { target c++26 } }
-// { dg-timeout-factor 2 }
+// { dg-timeout-factor 4 }
#include "testcases.h"
int
// { dg-do run { target c++26 } }
+// { dg-timeout-factor 4 }
#include "testcases.h"
int
// { dg-do run { target c++26 } }
-// { dg-timeout-factor 2 }
+// { dg-timeout-factor 4 }
#include "testcases.h"
int
// { dg-do run { target c++26 } }
+// { dg-timeout-factor 4 }
#include "testcases.h"
int