#include <map>
#include <stdio.h>
#include <string>
#include <sys/utsname.h>

#include "tcp.h"
#include "udss.h"
#include "udds.h"

int main()
{
    struct utsname name;
    std::map<std::string, std::string> options;

    options["port"] = "10000";
    options["items"] = "1000000";
    options["max_msg_size"] = "4096";
    options["max_threads"] = "32";
    options["path"] = "/tmp/queueable-socket";
    options["client_path"] = "/tmp/queueable-socket-client";

    uname(&name);

    printf("<?xml version=\"1.0\">\n");
    printf("<tests>\n");
    printf("<platform><sysname>%s</sysname><release>%s</release><version>%s</version><machine>%s</machine></platform>\n",
      name.sysname, name.release, name.version, name.machine);

    Tcp tcp;
    tcp.run_tests(options);

    Udss udss;
    udss.run_tests(options);

    Udds udds;
    udds.run_tests(options);

    printf("</tests>\n");

    return 0;
}

#include <map>
#include <stdio.h>
#include <string>
#include <sys/utsname.h>

#include "tcp.h"
#include "udss.h"
#include "udds.h"

int main()
{
    struct utsname name;
    std::map<std::string, std::string> options;

    options["port"] = "10000";
    options["items"] = "1000000";
    options["max_msg_size"] = "4096";
    options["max_threads"] = "32";
    options["path"] = "/tmp/queueable-socket";
    options["client_path"] = "/tmp/queueable-socket-client";

    uname(&name);

    printf("<?xml version=\"1.0\"?>\n");
    printf("<test_run>\n");
    printf("<platform><sysname>%s</sysname><release>%s</release><version>%s</version><machine>%s</machine></platform>\n",
      name.sysname, name.release, name.version, name.machine);

    Tcp tcp;
    tcp.run_tests(options);

    Udss udss;
    udss.run_tests(options);

    Udds udds;
    udds.run_tests(options);

    printf("</test_run>\n");

    return 0;
}

Change 'tests' to 'test_run' in output
Change 'tests' to 'test_run' in output
