libstdc++: Set dg-timeout-factor for some slow tests

These tests are very, very slow to compile. If the testsuite is run with
a low tool_timeout value they are likely to fail. By adding a
multiplication factor to those tests, it's still possible to use a low
timeout without spurious failures.

libstdc++-v3/ChangeLog:

	* testsuite/28_regex/algorithms/regex_match/basic/string_range_01_03.cc:
	Add dg-timeout-factor directive.
	* testsuite/28_regex/algorithms/regex_match/cstring_bracket_01.cc:
	Likewise.
	* testsuite/28_regex/algorithms/regex_match/ecma/char/backref.cc:
	Likewise.
	* testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/63199.cc:
	Likewise.
	* testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/anymatcher.cc:
	Likewise.
	* testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/cjk_match.cc:
	Likewise.
	* testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/hex.cc:
	Likewise.
	* testsuite/28_regex/algorithms/regex_match/extended/wstring_locale.cc:
	Likewise.
	* testsuite/28_regex/algorithms/regex_search/61720.cc: Likewise.
	* testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc:
	Likewise.
	* testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc:
	Likewise.
	* testsuite/28_regex/basic_regex/ctors/deduction.cc: Likewise.
This commit is contained in:
Jonathan Wakely 2020-11-26 15:16:25 +00:00
parent 39e837cd75
commit 218cedd5a3
12 changed files with 13 additions and 1 deletions

View file

@ -1,4 +1,5 @@
// { dg-do run { target c++11 } }
// { dg-timeout-factor 2 }
//
// 2010-06-16 Stephen M. Webb <stephen.webb@bregmasoft.ca>
@ -55,7 +56,7 @@ test01()
int
main()
{
{
test01();
return 0;
}

View file

@ -1,4 +1,5 @@
// { dg-do run { target c++11 } }
// { dg-timeout-factor 2 }
//
// 2013-08-01 Tim Shen <timshen91@gmail.com>

View file

@ -1,4 +1,5 @@
// { dg-do run { target c++11 } }
// { dg-timeout-factor 2 }
//
// 2013-09-02 Tim Shen <timshen91@gmail.com>

View file

@ -1,4 +1,5 @@
// { dg-do run { target c++11 } }
// { dg-timeout-factor 3 }
//
// Copyright (C) 2014-2020 Free Software Foundation, Inc.

View file

@ -1,4 +1,5 @@
// { dg-do run { target c++11 } }
// { dg-timeout-factor 3 }
//
// 2013-09-02 Tim Shen <timshen91@gmail.com>

View file

@ -1,4 +1,5 @@
// { dg-do run { target c++11 } }
// { dg-timeout-factor 3 }
//
// 2013-10-18 Tim Shen <timshen91@gmail.com>

View file

@ -1,4 +1,5 @@
// { dg-do run { target c++11 } }
// { dg-timeout-factor 2 }
//
// 2013-09-02 Tim Shen <timshen91@gmail.com>

View file

@ -1,5 +1,6 @@
// { dg-do run { target c++11 } }
// { dg-require-namedlocale "de_DE.UTF-8" }
// { dg-timeout-factor 3 }
//
// 2013-08-29 Tim Shen <timshen91@gmail.com>

View file

@ -1,4 +1,5 @@
// { dg-do run { target c++11 } }
// { dg-timeout-factor 2 }
//
// Copyright (C) 2014-2020 Free Software Foundation, Inc.

View file

@ -1,4 +1,5 @@
// { dg-do run { target c++11 } }
// { dg-timeout-factor 2 }
//
// 2013-09-14 Tim Shen <timshen91@gmail.com>

View file

@ -1,4 +1,5 @@
// { dg-do run { target c++11 } }
// { dg-timeout-factor 2 }
//
// 2013-08-26 Tim Shen <timshen91@gmail.com>

View file

@ -17,6 +17,7 @@
// { dg-options "-std=gnu++17" }
// { dg-do compile { target c++17 } }
// { dg-timeout-factor 3 }
#include <regex>
#include <testsuite_iterators.h>