diff options
author | Ross Burton <ross.burton@intel.com> | 2016-04-25 21:16:36 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-29 07:58:45 +0100 |
commit | 19d87600328630d424e488010728fd95705308d3 (patch) | |
tree | 9a50b3b3f56cc52f17a3e046709c72203788cb0b | |
parent | 05797191f04222df69e90711f0ea6a78648dc323 (diff) | |
download | poky-19d87600328630d424e488010728fd95705308d3.tar.gz |
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>
-rw-r--r-- | 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 acaf405acb..2c947bba90 100644 --- a/meta/lib/oeqa/selftest/sstatetests.py +++ b/meta/lib/oeqa/selftest/sstatetests.py | |||
@@ -411,7 +411,8 @@ PARALLEL_MAKE = "-j 1" | |||
411 | DL_DIR = "${TOPDIR}/download1" | 411 | DL_DIR = "${TOPDIR}/download1" |
412 | TIME = "111111" | 412 | TIME = "111111" |
413 | DATE = "20161111" | 413 | DATE = "20161111" |
414 | INHERIT_remove = "buildstats-summary buildhistory" | 414 | INHERIT_remove = "buildstats-summary buildhistory uninative" |
415 | http_proxy = "" | ||
415 | """) | 416 | """) |
416 | self.track_for_cleanup(topdir + "/tmp-sstatesamehash") | 417 | self.track_for_cleanup(topdir + "/tmp-sstatesamehash") |
417 | bitbake("world meta-toolchain -S none") | 418 | bitbake("world meta-toolchain -S none") |
@@ -422,7 +423,10 @@ PARALLEL_MAKE = "-j 2" | |||
422 | DL_DIR = "${TOPDIR}/download2" | 423 | DL_DIR = "${TOPDIR}/download2" |
423 | TIME = "222222" | 424 | TIME = "222222" |
424 | DATE = "20161212" | 425 | DATE = "20161212" |
426 | # Always remove uninative as we're changing proxies | ||
427 | INHERIT_remove = "uninative" | ||
425 | INHERIT += "buildstats-summary buildhistory" | 428 | INHERIT += "buildstats-summary buildhistory" |
429 | http_proxy = "http://example.com/" | ||
426 | """) | 430 | """) |
427 | self.track_for_cleanup(topdir + "/tmp-sstatesamehash2") | 431 | self.track_for_cleanup(topdir + "/tmp-sstatesamehash2") |
428 | bitbake("world meta-toolchain -S none") | 432 | bitbake("world meta-toolchain -S none") |