summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-09 17:58:14 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-09 17:58:14 +0000
commit2a2ed8e78fa3d9e4207e268bee2b3f90d1563b7f (patch)
tree88bbb038ef8d58cd0a0ee061f95003992aaecd1a
parentde1831e0dd6b487242187bd3dc8ed45aac842576 (diff)
downloadgcc-2a2ed8e78fa3d9e4207e268bee2b3f90d1563b7f.tar.gz
* go.test/go-test.exp (go-gc-tests): Skip nilptr tests that test
the other Go compiler. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206474 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/go.test/go-test.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ff63375c41c..d4383be9978 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2014-01-09 Ian Lance Taylor <iant@google.com>
+
+ * go.test/go-test.exp (go-gc-tests): Skip nilptr tests that test
+ the other Go compiler.
+
2014-01-09 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/59730
diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp
index 3bcd71bc1b6..f1eed08bd3e 100644
--- a/gcc/testsuite/go.test/go-test.exp
+++ b/gcc/testsuite/go.test/go-test.exp
@@ -1143,6 +1143,10 @@ proc go-gc-tests { } {
|| $test_line == "// \$G \$D/pkg.go && pack grcS pkg.a pkg.\$A 2> /dev/null && rm pkg.\$A && \$G -I. -u \$D/main.go" } {
# This tests the gc -u option, which gccgo does not
# support.
+ } elseif { $test_line == "// errorcheck -0 -N -d=nil" \
+ || $test_line == "// errorcheck -0 -d=nil" } {
+ # This tests gc nil pointer checks using -d=nil, which
+ # gccgo does not support.
} else {
clone_output "$name: unrecognized test line: $test_line"
unsupported $name