oeqa/runtime: rpm: fix finding the test rpm file
authorStefan Stanacar <stefanx.stanacar@intel.com>
Tue, 28 Jan 2014 16:14:18 +0000 (18:14 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Jan 2014 18:01:47 +0000 (18:01 +0000)
commit4ade0401149d9d8e454756524a032fb073de78ce
treedeb21c54e0a8cdc8bcf9e15f6d21cd817067e072
parentad5222c2768fbcfa7445e7f7c7c314370aa60bd8
oeqa/runtime: rpm: fix finding the test rpm file

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>
meta/lib/oeqa/runtime/rpm.py