]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts/contrib/build-perf-test.sh: skip network sanity tests
authorStefan Stanacar <stefanx.stanacar@intel.com>
Thu, 25 Apr 2013 12:11:00 +0000 (15:11 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Apr 2013 13:43:50 +0000 (14:43 +0100)
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>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
scripts/contrib/build-perf-test.sh

index f48220a3c37b0f65184b873398a2a4433b0f9edb..ee3040956989b2b2ebaab66e60909cc956c0c592 100755 (executable)
@@ -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
 #