From 25fb834e584cdfcf736db903c068beec5d5cec98 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Mon, 30 Jan 2012 22:31:38 +0100 Subject: [PATCH] re PR go/48501 (64bit-out.go, select5-out.go, tmp.go compilation times out) PR go/48501 * lib/go.exp (go_target_compile): Append timeout= to options. * go.test/go-test.exp (go-gc-tests): Add dg-timeout-factor for select5-out.go test on alpha*-*-* targets. From-SVN: r183741 --- gcc/testsuite/ChangeLog | 28 ++++++++++++++++------------ gcc/testsuite/go.test/go-test.exp | 3 +++ gcc/testsuite/lib/go.exp | 1 + 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3c21a5c277f..da42f22950c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2012-01-30 Uros Bizjak + + PR go/48501 + * lib/go.exp (go_target_compile): Append timeout= to options. + * go.test/go-test.exp (go-gc-tests): Add dg-timeout-factor for + select5-out.go test on alpha*-*-* targets. + 2012-01-30 Richard Sandiford * gcc.target/mips/extend-1.c (TEST_CHAR): Use signed char. @@ -42,13 +49,12 @@ 2012-01-30 Greta Yorsh - * gcc.target/arm/di-longlong64-sync-withldrexd.c: Accept - new code generated for __sync_lock_release. + * gcc.target/arm/di-longlong64-sync-withldrexd.c: Accept + new code generated for __sync_lock_release. 2012-01-30 Andreas Krebbel - * gcc.dg/dfp/fe-convert-2.c: Force use of soft dfp on s390 and - s390x. + * gcc.dg/dfp/fe-convert-2.c: Force use of soft dfp on s390 and s390x. 2012-01-29 John David Anglin @@ -215,8 +221,7 @@ 2012-01-26 Andreas Krebbel - * gcc.dg/ssa-dom-thread-4.c: Set -mbranch-cost=2 for s390 and - s390x. + * gcc.dg/ssa-dom-thread-4.c: Set -mbranch-cost=2 for s390 and s390x. 2012-01-26 Andreas Krebbel @@ -246,8 +251,7 @@ 2012-01-25 Ian Lance Taylor - * go.test/go-test.exp (go-gc-tests): Handle a few more test - lines. + * go.test/go-test.exp (go-gc-tests): Handle a few more test lines. 2012-01-25 Tobias Burnus @@ -363,8 +367,7 @@ 2012-01-23 Ramana Radhakrishnan * lib/target-supports.exp - (check_effective_target_vect_extract_even_odd): Handle - ARM neon. + (check_effective_target_vect_extract_even_odd): Handle ARM neon. (check_effective_target_vect_interleave): Likewise. 2012-01-22 Jason Merrill @@ -379,6 +382,7 @@ * g++.dg/torture/pr51344.C: Limit to x86. 2012-01-23 Greta Yorsh + * c-c++-common/tm/omp.c: Require target with pthread support. 2012-01-23 Richard Guenther @@ -448,8 +452,8 @@ PR target/51915 * gcc.target/arm/pr51915.c: New test. -2012-01-20 Cary Coutant - Dodji Seketeli +2012-01-20 Cary Coutant + Dodji Seketeli PR debug/45682 * g++.dg/debug/dwarf2/nested-3.C: New test. diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp index 13e801b73f8..c7383727e02 100644 --- a/gcc/testsuite/go.test/go-test.exp +++ b/gcc/testsuite/go.test/go-test.exp @@ -1005,7 +1005,10 @@ proc go-gc-tests { } { } else { pass "$name execution" file delete $base-out.x + # This testcase takes long time to compile. + dg-timeout-factor list 4 { target alpha*-*-* } go-torture-execute "./$base-out.go" + unset_timeout_vars } file delete $base-out.go } diff --git a/gcc/testsuite/lib/go.exp b/gcc/testsuite/lib/go.exp index e189ea135e1..8c908a5ced1 100644 --- a/gcc/testsuite/lib/go.exp +++ b/gcc/testsuite/lib/go.exp @@ -216,6 +216,7 @@ proc go_target_compile { source dest type options } { lappend options "ldflags=${wrap_flags}" } + lappend options "timeout=[timeout_value]" lappend options "compiler=$GOC_UNDER_TEST" set options [concat "$ALWAYS_GOCFLAGS" $options]