* return value of package_qa_check_staged in insane.bbclass
@ 2008-05-01 20:21 Julian
0 siblings, 0 replies; only message in thread
From: Julian @ 2008-05-01 20:21 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 702 bytes --]
Hi all,
I got confused with the return value of package_qa_check_staged
the code in insane.bbclass is
if not package_qa_check_staged(bb.data.getVar('STAGING_LIBDIR',d,True), d):
bb.fatal("QA staging was broken by the package built above")
if return false, it cause a fatal, but in the body of the function
the return value was came from the LATEST one.
for example, if there are two sanity test fail.
the first one is "installed", sane = True
the second one is "tmpdir", sane = False
finally it return False and cause fatal.
but if the checking order changed, it return True and doesn't cause fatal.
it confused me, is anything wrong ?
Thanks :-)
-Julian
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 265 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-01 20:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-01 20:21 return value of package_qa_check_staged in insane.bbclass Julian
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.