diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-05 22:22:17 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-05 22:22:17 +0000 |
commit | 6222f4a828548c0188ede626ded81d1f307803cc (patch) | |
tree | 41af694846a1bfc8719f9e3c0aeb2200cceb969f /libgo/Makefile.in | |
parent | 4f364235dcb67b1953b21be78391110b4c633e1b (diff) | |
download | gcc-6222f4a828548c0188ede626ded81d1f307803cc.tar.gz |
PR go/56017
libgo: Use DejaGNU when testing a cross-compiler.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195766 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/Makefile.in')
-rw-r--r-- | libgo/Makefile.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libgo/Makefile.in b/libgo/Makefile.in index 0f92aca7309..1376d566d6d 100644 --- a/libgo/Makefile.in +++ b/libgo/Makefile.in @@ -359,6 +359,7 @@ SPLIT_STACK = @SPLIT_STACK@ STRINGOPS_FLAG = @STRINGOPS_FLAG@ STRIP = @STRIP@ STRUCT_EPOLL_EVENT_FD_OFFSET = @STRUCT_EPOLL_EVENT_FD_OFFSET@ +USE_DEJAGNU = @USE_DEJAGNU@ VERSION = @VERSION@ WARN_FLAGS = @WARN_FLAGS@ WERROR = @WERROR@ @@ -2107,8 +2108,6 @@ BUILDPACKAGE = \ files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \ $(LTGOCOMPILE) -I . -c -fgo-pkgpath=`echo $@ | sed -e 's/.lo$$//' -e 's/-go$$//'` -o $@ $$files -@LIBGO_IS_RTEMS_FALSE@use_dejagnu = no -@LIBGO_IS_RTEMS_TRUE@use_dejagnu = yes GOTESTFLAGS = # Check a package. @@ -2127,7 +2126,7 @@ CHECK = \ export LD_LIBRARY_PATH; \ $(MKDIR_P) $(@D); \ rm -f $@-testsum $@-testlog; \ - if test "$(use_dejagnu)" = "yes"; then \ + if test "$(USE_DEJAGNU)" = "yes"; then \ $(SHELL) $(srcdir)/testsuite/gotest --dejagnu=yes --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --testname="$(@D)" --goarch="$(GOARCH)" $(GOTESTFLAGS) $(go_$(subst /,_,$(@D))_test_files); \ else \ if $(SHELL) $(srcdir)/testsuite/gotest --basedir=$(srcdir) --srcdir=$(srcdir)/go/$(@D) --pkgpath="$(@D)" --pkgfiles="$(go_$(subst /,_,$(@D))_files)" --goarch="$(GOARCH)" $(GOTESTFLAGS) $(go_$(subst /,_,$(@D))_test_files) >>$@-testlog 2>&1; then \ |