LGTM. It can significantly reduce the compilation and link time of BE unit tests.
-- 此致!Best Regards 陈明雨 Mingyu Chen Email: chenmin...@apache.org At 2022-03-08 17:43:15, "Zhou Minghong" <minghong.z...@163.com> wrote: >Hi all > > >Currently, every single testcase is an excutable file, which is as big as a >BE. If we want to test all the UTs, it takes a long time to compile and huge >disk space. >How about build all testcase in one executable file, and by using >--gtest-filter arguments to specify which UT you want to test. > > >BR/Minghong