summaryrefslogtreecommitdiffstats
path: root/juniper/src/test/auxTestApp.cpp
blob: 3f43c706d356d9025e5c203b0e65c482533b697f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/fastos/fastos.h>
#include <vespa/vespalib/testkit/testapp.h>
#include "auxTest.h"

class AuxTestApp : public vespalib::TestApp
{
public:
    virtual int Main() override;
};



void Usage(char* s)
{
    fprintf(stderr, "Usage: %s [-d debug_level]\n", s);
}


int AuxTestApp::Main()
{
    juniper::TestEnv te(this, TEST_PATH("../rpclient/testclient.rc").c_str());
    AuxTest pta;
    pta.SetStream(&std::cout);
    pta.Run(_argc, _argv);
    return pta.Report();
}

FASTOS_MAIN(AuxTestApp);