generic-poky/meta/lib/oeqa/selftest
Alexander Kanavin 2b77735c72 rpm: add support for remote package feeds via PACKAGE_FEED_URIS variable
I've used a previous patch (which was never merged) by
Humberto Ibarra <humberto.ibarra.lopez@intel.com> as a model
for how to do runtime testing of this feature (e.g. we need to boot
an image, run dnf on it, and check that it is indeed able to
access the remote repo over http). Here's his original commit message:

=====
Testing that feeds specified with PACKAGE_FEED_URIS var are set
correctly has two parts. First a build with this var set is required,
and then smart update needs to be issued in the running taget.

The previous is not a common selftest practice because this is a
simple test, but requires building and running a specific image,
which takes a lot of time. testimage is not a good fit either,
since the images tested there do not have the PACKAGE_FEED_URIS
var set.

For this test, the runtime-test module is being used, which is a
selftest module but runs a testimage command. The var and test
environment were set in runtime-perf.py and the actual test is
done in a new testcase added to meta-selftest layer.
=====

[YOCTO #10872]

(From OE-Core rev: 3a9e2fdef9316e24b52ce99ac355fc2b09786c72)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-03-17 16:53:04 +00:00
..
oelib oelib/buildhistory.py: Add unittest for buildhistory_analysis 2017-03-01 23:27:10 +00:00
__init__.py scripts/oe-selftest: script to run builds as unittest against bitbake or various scripts 2013-12-03 17:45:50 +00:00
_sstatetests_noauto.py oe-selftest: force some values in local.conf for _sstatetests_noauto.py 2014-03-07 14:58:45 +00:00
archiver.py selftest: Optimize get_bb_var use 2017-03-01 23:27:10 +00:00
base.py selftest: remove extra backslashes from debug output 2017-03-08 11:52:56 +00:00
bblayers.py selftest/bblayers: don't fetch a variable that is never used 2017-01-16 18:05:13 +00:00
bbtests.py selftest: do not perform a full build in test_continue 2017-03-14 14:42:17 +00:00
buildhistory.py selftest: Optimize get_bb_var use 2017-03-01 23:27:10 +00:00
buildoptions.py selftest: update output checks in incremental image test to match what dnf prints 2017-03-14 14:42:17 +00:00
containerimage.py selftest/containerimage.py: Add container IMAGE_FSTYPES test 2017-02-19 06:49:00 -08:00
devtool.py selftest: Optimize get_bb_var use 2017-03-01 23:27:10 +00:00
eSDK.py oeqa/selftest: Drop http sstate sharing 2017-03-01 23:27:11 +00:00
image_typedep.py image_typedep.py: Add a test that ensures conversion type deps get added 2017-01-16 18:05:12 +00:00
imagefeatures.py selftest/imagefeatures: skip weston test if required features are not present 2017-01-26 10:44:27 +00:00
layerappend.py Switch to Recipe Specific Sysroots 2017-01-23 12:05:17 +00:00
liboe.py selftest: Optimize get_bb_var use 2017-03-01 23:27:10 +00:00
lic-checksum.py oeqa/selftest/lic-checksum: don't report the expected failure to errors.yp 2016-09-20 15:11:09 +01:00
manifest.py selftest: Optimize get_bb_var use 2017-03-01 23:27:10 +00:00
oescripts.py lib/oeqa/selftest/oescripts: make test_cleanup_workdir use selftest-ed 2017-03-10 14:50:10 +00:00
pkgdata.py selftest: Optimize get_bb_var use 2017-03-01 23:27:10 +00:00
prservice.py selftest: Optimize get_bb_var use 2017-03-01 23:27:10 +00:00
recipetool.py selftest: Optimize get_bb_var use 2017-03-01 23:27:10 +00:00
runtime-test.py rpm: add support for remote package feeds via PACKAGE_FEED_URIS variable 2017-03-17 16:53:04 +00:00
signing.py selftest: Disable SSTATE_MIRRORS for sstate signing test 2017-03-16 22:11:31 +00:00
sstate.py selftest: Optimize get_bb_var use 2017-03-01 23:27:10 +00:00
sstatetests.py selftest: Optimize get_bb_var use 2017-03-01 23:27:10 +00:00
tinfoil.py selftest: Optimize get_bb_var use 2017-03-01 23:27:10 +00:00
wic.py wic: selftest: account for occasional newline in debugfs file names 2017-03-14 14:42:18 +00:00