blob: 1f263a0ce292032c6568aeb2c0d2eeb7f006aca6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
from buildstream import Element
from buildstream.plugin import CoreWarnings
class CoreWarn(Element):
def configure(self, node):
pass
def preflight(self):
pass
def get_unique_key(self):
pass
def configure_sandbox(self, sandbox):
pass
def stage(self, sandbox):
pass
def assemble(self, sandbox):
self.warn("Testing: CoreWarning produced during assemble",
warning_token=CoreWarnings.OVERLAPS)
def setup():
return CoreWarn
|