From b12d4923c4fddc7597eecc8273e7e02a78641268 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Wed, 3 Feb 2016 22:23:57 +0000 Subject: [PATCH] compat.exp (compat-get-options-main): Add dg-timeout-factor support for struct-layout-1.exp. * lib/compat.exp (compat-get-options-main): Add dg-timeout-factor support for struct-layout-1.exp. From-SVN: r233112 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/compat.exp | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1a17a9d..e6b0cc6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-02-03 Mike Stump + + * lib/compat.exp (compat-get-options-main): Add dg-timeout-factor + support for struct-layout-1.exp. + 2016-02-03 Patrick Palka PR c++/69056 diff --git a/gcc/testsuite/lib/compat.exp b/gcc/testsuite/lib/compat.exp index 77d6705..63d78cc 100644 --- a/gcc/testsuite/lib/compat.exp +++ b/gcc/testsuite/lib/compat.exp @@ -170,7 +170,8 @@ proc compat-get-options-main { src } { if { ![string compare "dg-options" $cmd] \ || [string match "dg-prune-output" $cmd] \ || [string match "dg-skip-if" $cmd] \ - || [string match "dg-require-*" $cmd] } { + || [string match "dg-require-*" $cmd] \ + || [string match "dg-timeout-factor" $cmd] } { set status [catch "$op" errmsg] if { $status != 0 } { perror "src: $errmsg for \"$op\"\n" @@ -215,7 +216,8 @@ proc compat-get-options { src } { set cmd [lindex $op 0] if { ![string compare "dg-options" $cmd] \ || ![string compare "dg-prune-output" $cmd] \ - || ![string compare "dg-xfail-if" $cmd] } { + || ![string compare "dg-xfail-if" $cmd] \ + || ![string compare "dg-timeout-factor" $cmd] } { set status [catch "$op" errmsg] if { $status != 0 } { perror "src: $errmsg for \"$op\"\n" -- 2.7.4