Skip to contentSkip to conversation

oeqa/sstatetests: add http_proxy to no-op hash test

PATCH New Ross Burton 1 participant 1 message Apr 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/lib/oeqa/selftest/sstatetests.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
meta/lib/oeqa/selftest/sstatetests.py +5 -1
index acaf405..2c947bb 100644
@@ -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")
Signature · 1 line
2.8.0.rc3