summaryrefslogtreecommitdiff
path: root/test~/event-1.0.oe
diff options
context:
space:
mode:
Diffstat (limited to 'test~/event-1.0.oe')
-rw-r--r--test~/event-1.0.oe35
1 files changed, 0 insertions, 35 deletions
diff --git a/test~/event-1.0.oe b/test~/event-1.0.oe
deleted file mode 100644
index f1b133dc83..0000000000
--- a/test~/event-1.0.oe
+++ /dev/null
@@ -1,35 +0,0 @@
-python handleFail() {
- from oe import expand
- from oe.event import Handled, NotHandled
- import os
- if getattr(e, "__name__", None) == None:
- name = e.__class__.__name__
- else:
- name = e.__name__
- if name == "TaskFailed" or name == "TaskStarted" or name == "TaskSucceeded":
- print "Caught %s event of %s" % (name, e.task)
- return Handled
- return NotHandled
-}
-
-addhandler handleFail
-
-python PkgEvent() {
- from oe import expand
- from oe.event import Handled, NotHandled
- import os
- if getattr(e, "__name__", None) == None:
- name = e.__class__.__name__
- else:
- name = e.__name__
- if name == "PkgFailed" or name == "PkgStarted" or name == "PkgSucceeded":
- print "Caught %s event of %s" % (name, e.pkg)
- return Handled
- return NotHandled
-}
-
-addhandler PkgEvent
-
-do_compile() {
- exit 1
-}