[oe-commits] Stefan Stanacar : scripts/contrib/build-perf-test.sh: skip network sanity tests

git at git.openembedded.org git at git.openembedded.org
Mon Apr 29 13:40:32 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: cc1ed3c1940e4f64534b58de1b5fc6ef90362c9a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=cc1ed3c1940e4f64534b58de1b5fc6ef90362c9a

Author: Stefan Stanacar <stefanx.stanacar at intel.com>
Date:   Thu Apr 25 15:11:00 2013 +0300

scripts/contrib/build-perf-test.sh: skip network sanity tests

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 at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 scripts/contrib/build-perf-test.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

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
 #





More information about the Openembedded-commits mailing list