smadaminov / ovs-dpdk-meson-issues

VMware Summer 2021
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

python unittest for meson build #96

Open qinghon opened 1 year ago

qinghon commented 1 year ago

根据之前ovs 社区回复,阻止meson 进入上游的一大原因就是单元测试问题

我用meson + python unittest 框架实现了一部分单元测试用例,目前看起来工作良好 https://github.com/qinghon/ovs/blob/meson_support/tests/meson.build

虽然还有许多工作要做,但目前最重要的问题在于我需要知道这种单元测试方法是否符合openvswitch 社区要求

任何反馈对我都是帮助

According to the previous reply from the ovs community, one of the main reasons preventing meson from entering the upstream is the unit test problem

I have implemented some unit test cases with meson + python unittest framework and it seems to be working fine so far https://github.com/qinghon/ovs/blob/meson_support/tests/meson.build

Although there is still a lot of work to be done, the most important question at present is that I need to know whether this method of unit testing meets the requirements of the openvswitch community

any feedback will be helpful for me