libgo: Use $(SHELL) to invoke gotest.
From Rainer Orth. From-SVN: r168815
This commit is contained in:
parent
2ab1753476
commit
3ad3790dc0
@ -1305,9 +1305,9 @@ CHECK = \
|
||||
prefix=`if test "$(@D)" = "regexp"; then echo regexp-test; else dirname $(@D); fi`; \
|
||||
test "$${prefix}" != "." || prefix="$(@D)"; \
|
||||
if test "$(use_dejagnu)" = "yes"; then \
|
||||
$(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)"; \
|
||||
$(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)"; \
|
||||
else \
|
||||
if $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" >>$@-log 2>&1; then \
|
||||
if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" >>$@-log 2>&1; then \
|
||||
echo "PASS: $(@D)"; \
|
||||
else \
|
||||
echo "FAIL: $(@D)"; \
|
||||
|
@ -1617,9 +1617,9 @@ CHECK = \
|
||||
prefix=`if test "$(@D)" = "regexp"; then echo regexp-test; else dirname $(@D); fi`; \
|
||||
test "$${prefix}" != "." || prefix="$(@D)"; \
|
||||
if test "$(use_dejagnu)" = "yes"; then \
|
||||
$(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)"; \
|
||||
$(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)"; \
|
||||
else \
|
||||
if $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" >>$@-log 2>&1; then \
|
||||
if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --prefix="libgo_$${prefix}" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" >>$@-log 2>&1; then \
|
||||
echo "PASS: $(@D)"; \
|
||||
else \
|
||||
echo "FAIL: $(@D)"; \
|
||||
|
Loading…
Reference in New Issue
Block a user