]> code.ossystems Code Review - openembedded-core.git/commit
go.bbclass: separate the ptest logic to go-ptest class
authorMingli Yu <mingli.yu@windriver.com>
Fri, 5 Jul 2019 09:00:23 +0000 (02:00 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 9 Jul 2019 22:27:38 +0000 (23:27 +0100)
commit099a2a212fed61a24643da63c74c09cef3ba4030
tree6fe3aebd40176e982c6ae07be204205e6140c64c
parentbc0195be1b15bcffe60127bc5e8b7011a853c2ed
go.bbclass: separate the ptest logic to go-ptest class

The current go class includes ptest logic by default
and will make the recipe which inherits go class
to support ptest automatically though maybe the
recipe which inherits go class doesn't plan to
support the ptest.

So separate the ptest logic to another specified
class go-ptest to make the recipe which needs to
inherit go class more flexible with regards to
ptest support.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/go-ptest.bbclass [new file with mode: 0644]
meta/classes/go.bbclass