aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/ctest/ctestconfiguration.cpp
blob: b0e8f199237d827cc1772879519abe1d7e6fbdb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#include "ctestconfiguration.h"
#include "ctestoutputreader.h"

namespace Autotest {
namespace Internal {

CTestConfiguration::CTestConfiguration(ITestBase *testBase)
    : TestToolConfiguration(testBase)
{
    setDisplayName("CTest");
}

TestOutputReader *CTestConfiguration::outputReader(const QFutureInterface<TestResultPtr> &fi,
                                                   Utils::QtcProcess *app) const
{
    return new CTestOutputReader(fi, app, workingDirectory());
}

} // namespace Internal
} // namespace Autotest