From: Jonathan Wakely Date: Thu, 11 Jul 2024 08:40:12 +0000 (+0100) Subject: libstdc++: Disable expensive test for debug mode [PR108636] X-Git-Tag: basepoints/gcc-16~7579 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dbc02ba43d9e89056f4ba21d664118377f7da40;p=thirdparty%2Fgcc.git libstdc++: Disable expensive test for debug mode [PR108636] This test uses -fkeep-inline-functions and with debug mode enabled that compiles much slower and times out if the system is under heavy load. The original problem being tested is independent of debug mode, so just require normal mode for the test. libstdc++-v3/ChangeLog: PR libstdc++/108636 * testsuite/27_io/filesystem/path/108636.cc: Require normal mode. --- diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc index 73742df93b05..48435525d363 100644 --- a/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc +++ b/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc @@ -1,6 +1,7 @@ // { dg-do link { target c++17 } } // { dg-options "-fkeep-inline-functions" } // { dg-require-filesystem-ts "" } +// { dg-require-normal-mode "too slow with debug mode" } #include int main()