compat.exp (compat-get-options-main): Add dg-timeout-factor support for struct-layout...
authorMike Stump <mikestump@comcast.net>
Wed, 3 Feb 2016 22:23:57 +0000 (22:23 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Wed, 3 Feb 2016 22:23:57 +0000 (22:23 +0000)
* lib/compat.exp (compat-get-options-main): Add dg-timeout-factor
support for struct-layout-1.exp.

From-SVN: r233112

gcc/testsuite/ChangeLog
gcc/testsuite/lib/compat.exp

index 1a17a9d..e6b0cc6 100644 (file)
@@ -1,3 +1,8 @@
+2016-02-03  Mike Stump  <mikestump@comcast.net>
+
+       * lib/compat.exp (compat-get-options-main): Add dg-timeout-factor
+       support for struct-layout-1.exp.
+
 2016-02-03  Patrick Palka  <ppalka@gcc.gnu.org>
 
        PR c++/69056
index 77d6705..63d78cc 100644 (file)
@@ -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"