]> code.ossystems Code Review - openembedded-core.git/commit
insane.bbclass: print all the QA messages
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 20 Jan 2016 08:34:23 +0000 (00:34 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jan 2016 23:42:39 +0000 (23:42 +0000)
commit1dcb38ca9d632887dd99ea9fa32dd955561dc18d
treeb45184361086fb37445be9201b077264ecbf6f11
parentfc945cf3e062a0a799c9ab4870b0d53e37fdbb09
insane.bbclass: print all the QA messages

Fixed:
If more than one files have the same QA issue, it only prints the last
one, others are overrided, for example:
messages["host-user-contaminated"] = "foo1"
messages["host-user-contaminated"] = "foo2"
Only foo2 will be printed.

Add package_qa_add_message() to hanlde messages, so that all of them
will be printed. The package_qa_add_message() is from RP.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/insane.bbclass