summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/rpm.py
Commit message (Collapse)AuthorAgeFilesLines
* oeqa/runtime/rpm: be more verbose if test_rpm_query_nonroot failsRoss Burton2016-01-301-2/+2
| | | | | | | | | | If some parts of this test fail put the failing output in the logs to help debugging. (From OE-Core rev: aeee86050019caae5da3af8d31cf57bc811c5e80) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime: Added a new automated rpm test.Daniel Istrate2015-07-231-0/+37
| | | | | | | | | | testcase 195: Check rpm install/removal log file size (From OE-Core rev: abf07439e59180a79518e8a2443930104e9e71d0) Signed-off-by: Daniel Istrate <daniel.alexandrux.istrate@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/rpm: Added new decorators for existing automated tests.Lucian Musat2015-04-101-0/+1
| | | | | | | (From OE-Core rev: 7381c10f2260181eccd3abddf5d0289c969863cb) Signed-off-by: Lucian Musat <george.l.musat@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime: Added a new auto rpm testLucian Musat2015-03-221-0/+10
| | | | | | | | | The test tries to query the rpm list with a non-root user (From OE-Core rev: 9d5deedfdae28d0257e84e1980c2cb7fd4e38c45) Signed-off-by: Lucian Musat <george.l.musat@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/rutime: Added testcase decorators for automated runtime tests. Also ↵Lucian Musat2014-07-251-0/+3
| | | | | | | | | added LogResults decorator for oeTest class in oetest.py (From OE-Core rev: 95b83084487d0712362ade8ac487999c3274bb96) Signed-off-by: Lucian Musat <georgex.l.musat@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime: rpm: fix finding the test rpm fileStefan Stanacar2014-01-281-5/+6
| | | | | | | | | | | | | | Translate TUNE_PKGARCH to find the right file (this used to work because tune for qemux86-64 used to be x86_64 now it's core2-64) Also, while using packagedata was nice, it's harder to make the test exportable and runnable outside of the build system. (where oe.packagedata isn't available) (From OE-Core rev: fd0e9ad4d295ca11b33c3e3e11069421dee834e8) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oeqa/runtime: rpm: add install and erase testsStefan Stanacar2013-08-261-3/+27
| | | | | | | | | | | | | | Copies to target rpm-doc file from deploy_dir and tries to install and then remove that package. rpm-doc was chosen because it's small, it only adds a few files to target, and it's almost always found in deploy_dir for images with package-management/rpm. (From OE-Core rev: a2d2f2b7b111863d3c50dedded37aab813d9634f) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oeqa/runtime: image sanity testsStefan Stanacar2013-07-091-0/+25
These are basic sanity tests. A test can be force run by setting TEST_SUITES = "ping ssh <module-name>" in local.conf. By default there are suites for minimal, sato and sato-sdk images. (From OE-Core rev: dd3dc2804395f050df74fa936e65ce5e911442eb) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>