]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Disable expensive test for debug mode [PR108636]
authorJonathan Wakely <jwakely@redhat.com>
Thu, 11 Jul 2024 08:40:12 +0000 (09:40 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 11 Jul 2024 15:18:49 +0000 (16:18 +0100)
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.

libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc

index 73742df93b054c1e6c8edcd163ea966c9bc19e94..48435525d363d84927f9b144163c12c375dd3524 100644 (file)
@@ -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 <filesystem>
 int main()