satyajanga wrote:

> > Add a test with an invalid platform name. Verify we fail to connect Add a 
> > test with a valid platform with triple that is not compatible with 
> > platform. So maybe add some global variables to the test program with all 
> > of the mock function, and have the platform and target be specified with 
> > program arguments when you launch. Then you can test by launching the 
> > program with different args to verify test results.
> > mock-test-app --platform --arch mock-test-app --platform --arch # error 
> > when trying to attach to connection mock-test-app --platform --arch # error 
> > when trying to attach to connection
> 
> We can't do this with the program, we need to pass env vars to the 
> lldb-server.

Added the tests using the env variable.

https://github.com/llvm/llvm-project/pull/201449
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to