Patchwork [2/3] scripts/contrib/build-perf-test.sh: skip network sanity tests

login
register
mail settings
Submitter Stanacar, StefanX
Date April 25, 2013, 12:11 p.m.
Message ID <2671dbce89693f9d607b299640a10c46176b9f46.1366891465.git.stefanx.stanacar@intel.com>
Download mbox | patch
Permalink /patch/48873/
State Accepted
Commit f58228f2b82f309061a75d60835c9ba43198b3bb
Headers show

Comments

Stanacar, StefanX - April 25, 2013, 12:11 p.m.
When your proxy/network connection is unstable the network sanity test
which runs before every build (because we wipe all the files in the build dir)
can influence build time. Appending  CONNECTIVITY_CHECK_URIS = ""
in local.conf will disable the check.

Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
---
 scripts/contrib/build-perf-test.sh | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/scripts/contrib/build-perf-test.sh b/scripts/contrib/build-perf-test.sh
index f48220a..ee30409 100755
--- a/scripts/contrib/build-perf-test.sh
+++ b/scripts/contrib/build-perf-test.sh
@@ -165,6 +165,10 @@  else
     echo "DL_DIR = \"$clonedir/build-perf-test/downloads\"" >> conf/local.conf
 fi
 
+# Sometimes I've noticed big differences in timings for the same commit, on the same machine
+# Disabling the network sanity check helps a bit (because of my crappy network connection and/or proxy)
+echo "CONNECTIVITY_CHECK_URIS =\"\"" >> conf/local.conf
+
 #
 # Functions
 #