summaryrefslogtreecommitdiffstats
path: root/juniper/src/test/auxTestApp.cpp
blob: 50b367f99ec9de0e23240741c53876f445fbcf1c (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
30
31
// 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/log/log.h>
#include <vespa/vespalib/testkit/testapp.h>
LOG_SETUP("auxTest");
#include "auxTest.h"

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



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


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

FASTOS_MAIN(AuxTestApp);