kuilpd wrote:

> This is the reason. Long-term maintainability of the project. We already have 
> (too) many different ways to build test binaries, so you need a very good 
> reason to introduce another method, and frankly, I don't think you have one. 
Is it a general consensus that people shouldn't use unit tests anymore?

> If you don't build the test binaries with the same compiler as the rest of 
> the tests, you will expose the test to all of the quirks and bugs of the host 
> compiler, which means that this test will be testing a different thing for 
> every user.
This is what I tried to do, I looked at how Python builds test binaries and 
repeated the same commands in CMake. 

https://github.com/llvm/llvm-project/pull/134428
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to