generic-poky/meta/lib/oeqa
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
..
buildperf oeqa/buildperf: don't archive stdout/stderr of commands 2017-02-15 20:06:41 -08:00
controllers gummiboot: Remove/change gummiboot references with systemd-boot 2017-01-09 13:39:11 +00:00
core oeqa/core/loader.py: Avoid importing tests with built-ins name 2017-03-01 23:27:10 +00:00
files oeqa: Move common files to oeqa/files instead of runtime only 2017-01-23 12:05:19 +00:00
runtime testimage.bbclass: fix runtime test for rpm, port smart tests to dnf 2017-03-14 14:42:17 +00:00
sdk oeqs/sdk*/case: Use universal_newlines for subprocess calls 2017-03-01 23:27:11 +00:00
sdkext oeqa/sdkext/devtool: Ensure dependencies for test_extend_autotools_recipe_creation are present 2017-03-03 11:16:12 +00:00
selftest rpm: add support for remote package feeds via PACKAGE_FEED_URIS variable 2017-03-17 16:53:04 +00:00
utils qemurunner.py: ignore decode errors 2017-03-08 11:52:56 +00:00
oetest.py testimage.bbclass: fix runtime test for rpm, port smart tests to dnf 2017-03-14 14:42:17 +00:00
runexported.py meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
targetcontrol.py targetcontrol: add image_fstype argument to commands.runqemu 2017-03-08 11:52:56 +00:00