Experimental parallel testing for library.

This commit is contained in:
Roger A. Light
2018-04-16 10:02:22 +01:00
parent 5d2f5c25d7
commit ba71bc3b32
72 changed files with 355 additions and 95 deletions
+3 -1
View File
@@ -17,11 +17,13 @@ int main(int argc, char *argv[])
{
struct mosquittopp_test *mosq;
int port = atoi(argv[1]);
mosqpp::lib_init();
mosq = new mosquittopp_test("01-no-clean-session", false);
mosq->connect("localhost", 1888, 60);
mosq->connect("localhost", port, 60);
while(run == -1){
mosq->loop();