aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2018-10-26 18:36:44 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-10-26 18:36:44 +0000
commit827651b0740936feea4f31d718a2175be128cc42 (patch)
treedd7bdbf0ba1e3128242160a1be70644eae20d685
parent075b562c447265d5f89850fd582a710160bf3317 (diff)
downloadgcc-827651b0740936feea4f31d718a2175be128cc42.zip
gcc-827651b0740936feea4f31d718a2175be128cc42.tar.gz
gcc-827651b0740936feea4f31d718a2175be128cc42.tar.bz2
libgo: simplify gotest script to avoid sed substitution to \n
Reviewed-on: https://go-review.googlesource.com/c/145057 From-SVN: r265541
-rw-r--r--gcc/go/gofrontend/MERGE2
-rwxr-xr-xlibgo/testsuite/gotest7
2 files changed, 2 insertions, 7 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index f56ac80..bf2b28f 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-9785e5c4e868ba55efdb33fc51872b4821770167
+8902fb43c569e4d3ec5bd143bfa8cb6bf2836780
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest
index a82386a..dba7408 100755
--- a/libgo/testsuite/gotest
+++ b/libgo/testsuite/gotest
@@ -521,13 +521,8 @@ symtogo() {
if ! expr "$s" : '^[^.]*\.[^.]*$' >/dev/null 2>&1; then
continue
fi
- if [ -z "${result}" ]; then
- result="${s}"
- else
- result="${result} ${s}"
- fi
+ echo "$s"
done
- echo "$result" | sed -e 's/ /\n/g'
}
{