generic-poky/meta-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
..
classes meta-selftest: create a new test layer to be used by oe-selftest script 2013-12-03 17:45:50 +00:00
conf meta-selftest: Add qemux86copy machine 2015-10-01 07:43:35 +01:00
files/signing selftest/signing.py: RPM_GPG_PASSPHRASE_FILE -> RPM_GPG_PASSPHRASE 2016-03-25 10:29:14 +00:00
lib rpm: add support for remote package feeds via PACKAGE_FEED_URIS variable 2017-03-17 16:53:04 +00:00
recipes-test run-postinsts: simplify the logic of whether to install it to images 2017-03-14 14:42:17 +00:00
COPYING.MIT meta-selftest: create a new test layer to be used by oe-selftest script 2013-12-03 17:45:50 +00:00
README meta-selftest: create a new test layer to be used by oe-selftest script 2013-12-03 17:45:50 +00:00

README

This layer is intended as test layer, used by scripts/oe-selftest
and it's probably a mistake to include it in your builds (unless you
want to run the script).