diff mbox

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

Message ID 39bbb1b706121ff9af59dd6c2506222c2b81dafa.1406553977.git.ian.campbell@citrix.com
State New
Headers show

Commit Message

Ian Campbell July 28, 2014, 1:26 p.m. UTC
This will show up issues with the distcc infrastructure immediately
instead of limping on with reduced performance.

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

Comments

Ian Campbell July 28, 2014, 1:45 p.m. UTC | #1
On Mon, 2014-07-28 at 14:26 +0100, Ian Campbell wrote:
> This will show up issues with the distcc infrastructure immediately
> instead of limping on with reduced performance.
> 
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>

Pushed with Ian's verbal ack.
diff mbox

Patch

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);