libstdc++: Increase timeout for tests in debug mode
authorJonathan Wakely <jwakely@redhat.com>
Tue, 15 Dec 2020 15:39:58 +0000 (15:39 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 15 Dec 2020 15:39:58 +0000 (15:39 +0000)
commite831ad4dab9d693885a5654d49e8f219e53eaee1
tree0147395e23ddc10c24571af280d38c45902a6715
parentf072d1021e3e80539afe58ba0019fafa9a0bb7a6
libstdc++: Increase timeout for tests in debug mode

These tests FAIL when testing debug mode with a small tool_timeout
value. Give them a longer relative timeout.

libstdc++-v3/ChangeLog:

* testsuite/25_algorithms/lexicographical_compare/deque_iterators/1.cc:
Add dg-timeout-factor directive.
* testsuite/ext/pb_ds/regression/tree_map_rand_debug.cc:
Increase timeout factor from 2.0 to 3.0.
* testsuite/ext/pb_ds/regression/tree_set_rand_debug.cc:
Likewise.
* testsuite/lib/libstdc++.exp (check_effective_target_debug-mode):
Define "debug-mode" as an effective-target keyword.
libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/deque_iterators/1.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/tree_map_rand_debug.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/tree_set_rand_debug.cc
libstdc++-v3/testsuite/lib/libstdc++.exp