aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-07-11 09:40:12 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-07-11 16:18:49 +0100
commit8dbc02ba43d9e89056f4ba21d664118377f7da40 (patch)
tree979143772059a33caebd789962f7decef6b93f26
parent7c11fdd2cc11a7058e9643b6abf27831970ad2c9 (diff)
downloadgcc-8dbc02ba43d9e89056f4ba21d664118377f7da40.zip
gcc-8dbc02ba43d9e89056f4ba21d664118377f7da40.tar.gz
gcc-8dbc02ba43d9e89056f4ba21d664118377f7da40.tar.bz2
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.
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc
index 73742df..4843552 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 <filesystem>
int main()