From: Ian Lance Taylor Date: Fri, 26 Oct 2018 18:36:44 +0000 (+0000) Subject: libgo: simplify gotest script to avoid sed substitution to \n X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=827651b0740936feea4f31d718a2175be128cc42;p=gcc.git libgo: simplify gotest script to avoid sed substitution to \n Reviewed-on: https://go-review.googlesource.com/c/145057 From-SVN: r265541 --- diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index f56ac802ad0..bf2b28f1bc6 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 a82386aab3a..dba7408a07c 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' } {