diff mbox series

[committed] libstdc++: Disable expensive test for debug mode [PR108636]

Message ID 20240711154355.1048126-1-jwakely@redhat.com
State New
Headers show
Series [committed] libstdc++: Disable expensive test for debug mode [PR108636] | expand

Commit Message

Jonathan Wakely July 11, 2024, 3:43 p.m. UTC
Tested x86_64-linux. Pushed to trunk.

-- >8 --

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 | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc
index 73742df93b0..48435525d36 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()