[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST] TestSupport: Set DISTCC_FALLBACK=0 when using distcc



This will show up issues with the distcc infrastructure immediately
instead of limping on with reduced performance.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 Osstest/TestSupport.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index 3930595..fea54d5 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -528,8 +528,9 @@ sub target_cmd_build ($$$$) {
     my $distcc_hosts = get_host_property($ho,'DistccHosts',undef);
     my $distcc = defined($distcc_hosts) ? <<END : "";
         CCACHE_PREFIX=distcc
+        DISTCC_FALLBACK=0
         DISTCC_HOSTS="$distcc_hosts"
-        export CCACHE_PREFIX DISTCC_HOSTS
+        export CCACHE_PREFIX DISTCC_FALLBACK DISTCC_HOSTS
 END
 
     target_cmd($ho, <<END.$distcc.<<END.$script, $timeout);
-- 
1.9.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.