[Buildroot] [PATCH 5/5] support/testing: add python-twisted tests

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Oct 11 18:48:08 UTC 2018


Hello,

On Tue, 25 Sep 2018 23:55:14 -0300, Ricardo Martincoski wrote:

> +TEST_SCRIPT = """
> +from twisted.internet import protocol, reactor, endpoints
> +class F(protocol.Factory):
> +    pass
> +endpoints.serverFromString(reactor, "tcp:1234").listen(F())
> +reactor.run()
> +"""

At some point, we will have to find a solution to store such
"artefacts" somewhere, instead of having them inline in their test
cases. I don't have a good idea about this.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list