]> code.ossystems Code Review - openembedded-core.git/commit
insane.bbclass: use bb.process.Popen instead of subprocess.check_output
authorScott Garman <scott.a.garman@intel.com>
Thu, 5 Jan 2012 21:12:50 +0000 (13:12 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Jan 2012 22:17:23 +0000 (22:17 +0000)
commit0443487fe0bc628db9b03306bdc9dcdb39a121dc
treef014a111fad1084d42ec1f01d1020e0d68815858
parent563828bad19a242bba9ce3db461bb5807037dfdf
insane.bbclass: use bb.process.Popen instead of subprocess.check_output

subprocess.check_output was only introduced in Python v2.7, so we
cannot use it. This refactors the QA test to use bb.process.Popen
instead.

This fixes the error:

AttributeError: 'module' object has no attribute 'check_output'

It no longer checks the return status of prelink-rtld, as that
case was simply adding noise. This QA test is intended to only
warn about specific paths that binaries could be linking to, not
handle the case where there is a missing library.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass