[gnome-continuous-yocto/gnomeostree-3.28-rocko: 39/8267] oeqa/sstatetests: add http_proxy to no-op hash test



commit 19d87600328630d424e488010728fd95705308d3
Author: Ross Burton <ross burton intel com>
Date:   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.
    
    (From OE-Core rev: 7d8ffd22303a5b89cb129e804c124a2d1dedf9ab)
    
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/lib/oeqa/selftest/sstatetests.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
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")


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]