summaryrefslogtreecommitdiff
path: root/libgo/testsuite
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2019-09-06 18:12:46 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-09-06 18:12:46 +0000
commitaa8901e9bb0399d2c16f988ba2fe46eb0c0c5d13 (patch)
tree7e63b06d1eec92beec6997c9d3ab47a5d6a835be /libgo/testsuite
parent920ea3b8ba3164b61ac9490dfdfceb6936eda6dd (diff)
libgo: update to Go 1.13beta1 release
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/193497 From-SVN: r275473
Diffstat (limited to 'libgo/testsuite')
-rwxr-xr-xlibgo/testsuite/gotest4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest
index 5256bb6cb63..60bead5e7d6 100755
--- a/libgo/testsuite/gotest
+++ b/libgo/testsuite/gotest
@@ -326,7 +326,7 @@ x)
esac
if test x$tag1 != xnonmatchingtag -a x$tag2 != xnonmatchingtag; then
- tags=`sed '/^package /q' < $f | grep '^// +build '`
+ tags=`sed '/^package /q' < $f | grep '^// \?+build '`
omatch=true
first=true
match=false
@@ -334,7 +334,7 @@ x)
case $tag in
"//")
;;
- "+build")
+ "+build" | "//+build")
if test "$first" = "true"; then
first=false
elif test "$match" = "false"; then