aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2014-01-09 17:58:14 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2014-01-09 17:58:14 +0000
commit2fbec1f28b633989e983c39739957f60a0299422 (patch)
tree88bbb038ef8d58cd0a0ee061f95003992aaecd1a
parent554b6ea7a8aefb9e2dd37ac914df7b42b17d0a07 (diff)
downloadgcc-2fbec1f28b633989e983c39739957f60a0299422.zip
gcc-2fbec1f28b633989e983c39739957f60a0299422.tar.gz
gcc-2fbec1f28b633989e983c39739957f60a0299422.tar.bz2
go-test.exp (go-gc-tests): Skip nilptr tests that test the other Go compiler.
* go.test/go-test.exp (go-gc-tests): Skip nilptr tests that test the other Go compiler. From-SVN: r206474
-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 ff63375..d4383be 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 3bcd71b..f1eed08 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