summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-04-24 16:16:10 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-24 10:15:29 +0100
commit612555e6fe8fac77b0d3b2becc740f52ceab9290 (patch)
treea3f3e13b06b330fcb08a86fa6ca9e2259342b55a
parent35196ff703726addf7f4051ee09d70bf9ee0c5d0 (diff)
downloadpoky-612555e6fe8fac77b0d3b2becc740f52ceab9290.tar.gz
poky-612555e6fe8fac77b0d3b2becc740f52ceab9290.tar.bz2
poky-612555e6fe8fac77b0d3b2becc740f52ceab9290.zip
event.py: Add SanityCheck and SanityCheckPassed events
(Bitbake rev: 4d7bf9d813229b78b1cd87d06f7042e7923b7db4) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/event.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py
index bbece583d1..f3fb5213ba 100644
--- a/bitbake/lib/bb/event.py
+++ b/bitbake/lib/bb/event.py
@@ -517,3 +517,13 @@ class PackageInfo(Event):
def __init__(self, pkginfolist):
Event.__init__(self)
self._pkginfolist = pkginfolist
+
+class SanityCheck(Event):
+ """
+ Event to issue sanity check
+ """
+
+class SanityCheckPassed(Event):
+ """
+ Event to indicate sanity check is passed
+ """