aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2012-02-01 20:32:42 +0100
committerUros Bizjak <uros@gcc.gnu.org>2012-02-01 20:32:42 +0100
commit25f10bd4bb837a944f9bb4bb134867e36e4614b8 (patch)
treea6c530b522fb42b1bb6102854483f9a2228b638a
parent9af4cb9545ce481b8d9d4a13acfe26512032e21b (diff)
downloadgcc-25f10bd4bb837a944f9bb4bb134867e36e4614b8.zip
gcc-25f10bd4bb837a944f9bb4bb134867e36e4614b8.tar.gz
gcc-25f10bd4bb837a944f9bb4bb134867e36e4614b8.tar.bz2
go-test.exp (go-gc-tests): xfail test/nilptr.go runtime test on alpha*-*-*.
* go.test/go-test.exp (go-gc-tests): xfail test/nilptr.go runtime test on alpha*-*-*. From-SVN: r183811
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/go.test/go-test.exp23
2 files changed, 18 insertions, 10 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9e655c8..6cf8868 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-01 Uros Bizjak <ubizjak@gmail.com>
+
+ * go.test/go-test.exp (go-gc-tests): xfail test/nilptr.go runtime
+ test on alpha*-*-*.
+
2012-02-01 Tobias Burnus <burnus@net-b.de>
PR fortran/52024
diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp
index c738372..d5f2f4e 100644
--- a/gcc/testsuite/go.test/go-test.exp
+++ b/gcc/testsuite/go.test/go-test.exp
@@ -286,25 +286,28 @@ proc go-gc-tests { } {
# Skip certain tests if target is RTEMS OS.
if [istarget "*-*-rtems*"] {
- if { [string match "*go.test/test/args.go" \
- $test] \
- || [string match "*go.test/test/env.go" \
- $test] } {
+ if { [string match "*go.test/test/args.go" $test] \
+ || [string match "*go.test/test/env.go" $test] } {
untested "$name: uses the command-line or environment variables"
continue
}
- if { [string match "*go.test/test/stack.go" \
- $test] \
- || [string match "*go.test/test/peano.go" \
- $test] \
- || [string match "*go.test/test/chan/goroutines.go" \
- $test] } {
+ if { [string match "*go.test/test/stack.go" $test] \
+ || [string match "*go.test/test/peano.go" $test] \
+ || [string match "*go.test/test/chan/goroutines.go" $test] } {
untested "$name: has very high memory requirement"
continue
}
}
+ # Handle certain tests in a target-dependant way.
+ if [istarget "alpha*-*-*"] {
+ if { [string match "*go.test/test/nilptr.go" $test] } {
+ go-execute-xfail $test
+ continue
+ }
+ }
+
if { [string match "*bug347*" $test] \
|| [string match "*bug348*" $test] } {
# These bugs rely on runtime.Caller which currently fails.