how to automate all testcases using lldb-server

I want to run the test suite on iOS devices, I know how to run testcase using lldb-server one by one, but I don’t know how to auto reset lldb-server, can anyone tell me how to automate all testcases using lldb-server? Thanks a lot!