From 8897c836a89381c814407e5d2cc70b813ce70f09 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 9 Mar 2011 05:57:10 +0000 Subject: [PATCH] re PR go/48017 (Network tests should fail gracefully without network connectivity) PR go/48017 Only run net tests if GCCGO_RUN_ALL_TESTS is set in environment. From-SVN: r170809 --- libgo/Makefile.am | 6 +++--- libgo/Makefile.in | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libgo/Makefile.am b/libgo/Makefile.am index ca3de1d1633..40786877982 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -2952,13 +2952,13 @@ TEST_PACKAGES = \ fmt/check \ gob/check \ html/check \ - http/check \ + $(if $(GCCGO_RUN_ALL_TESTS),http/check) \ io/check \ json/check \ log/check \ math/check \ mime/check \ - net/check \ + $(if $(GCCGO_RUN_ALL_TESTS),net/check) \ netchan/check \ os/check \ patch/check \ @@ -2974,7 +2974,7 @@ TEST_PACKAGES = \ strconv/check \ strings/check \ sync/check \ - syslog/check \ + $(if $(GCCGO_RUN_ALL_TESTS),syslog/check) \ tabwriter/check \ template/check \ time/check \ diff --git a/libgo/Makefile.in b/libgo/Makefile.in index edc40b4be2a..46821bad8ad 100644 --- a/libgo/Makefile.in +++ b/libgo/Makefile.in @@ -1818,13 +1818,13 @@ TEST_PACKAGES = \ fmt/check \ gob/check \ html/check \ - http/check \ + $(if $(GCCGO_RUN_ALL_TESTS),http/check) \ io/check \ json/check \ log/check \ math/check \ mime/check \ - net/check \ + $(if $(GCCGO_RUN_ALL_TESTS),net/check) \ netchan/check \ os/check \ patch/check \ @@ -1840,7 +1840,7 @@ TEST_PACKAGES = \ strconv/check \ strings/check \ sync/check \ - syslog/check \ + $(if $(GCCGO_RUN_ALL_TESTS),syslog/check) \ tabwriter/check \ template/check \ time/check \ -- 2.30.2