[oe-commits] [openembedded-core] 39/41: oeqa/sstatetests: add http_proxy to no-op hash test

git at git.openembedded.org git at git.openembedded.org
Tue Apr 26 10:29:29 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 8e237b9f556bff0aa366ccabffa5959dff3b6a0f
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Mon Apr 25 21:16:36 2016 +0100

    oeqa/sstatetests: add http_proxy to no-op hash test
    
    Add two values for http_proxy to verify that changing it doesn't change any
    unexpected tasks.
    
    As this causes uninative to fail to fetch, ensure that uninative is always
    disabled.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/lib/oeqa/selftest/sstatetests.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/sstatetests.py b/meta/lib/oeqa/selftest/sstatetests.py
index acaf405..2c947bb 100644
--- a/meta/lib/oeqa/selftest/sstatetests.py
+++ b/meta/lib/oeqa/selftest/sstatetests.py
@@ -411,7 +411,8 @@ PARALLEL_MAKE = "-j 1"
 DL_DIR = "${TOPDIR}/download1"
 TIME = "111111"
 DATE = "20161111"
-INHERIT_remove = "buildstats-summary buildhistory"
+INHERIT_remove = "buildstats-summary buildhistory uninative"
+http_proxy = ""
 """)
         self.track_for_cleanup(topdir + "/tmp-sstatesamehash")
         bitbake("world meta-toolchain -S none")
@@ -422,7 +423,10 @@ PARALLEL_MAKE = "-j 2"
 DL_DIR = "${TOPDIR}/download2"
 TIME = "222222"
 DATE = "20161212"
+# Always remove uninative as we're changing proxies
+INHERIT_remove = "uninative"
 INHERIT += "buildstats-summary buildhistory"
+http_proxy = "http://example.com/"
 """)
         self.track_for_cleanup(topdir + "/tmp-sstatesamehash2")
         bitbake("world meta-toolchain -S none")

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list