blob: 35324eb40b1ab8c118d03f197b61463d33cc0f78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
python test1_eventhandler() {
bb.note("Test for bb.event.BuildStarted")
}
python test2_eventhandler() {
bb.note("Test for bb.event.BuildCompleted")
}
python test3_eventhandler() {
bb.note("Test for bb.event.InvalidEvent")
}
addhandler test1_eventhandler
test1_eventhandler[eventmask] = "bb.event.BuildStarted"
addhandler test2_eventhandler
test2_eventhandler[eventmask] = "bb.event.BuildCompleted"
addhandler test3_eventhandler
test3_eventhandler[eventmask] = "bb.event.InvalidEvent"
|