aboutsummaryrefslogtreecommitdiff
path: root/offload/unittests/Conformance/include/mathtest/CommandLineExtras.hpp
blob: e80fdbf179d6c3ed1734bcef7df4925767ad6a5a (plain)
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
32
33
34
35
36
37
38
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
///
/// \file
/// This file contains the declaration of the command-line options and the main
/// interface for selecting test configurations.
///
//===----------------------------------------------------------------------===//

#ifndef MATHTEST_COMMANDLINEEXTRAS_HPP
#define MATHTEST_COMMANDLINEEXTRAS_HPP

#include "mathtest/CommandLine.hpp"
#include "mathtest/TestConfig.hpp"

#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/CommandLine.h"

namespace mathtest {
namespace cl {

extern llvm::cl::opt<bool> IsVerbose;

namespace detail {

extern llvm::cl::opt<llvm::cl::TestConfigsArg> TestConfigsOpt;
} // namespace detail

const llvm::SmallVector<TestConfig, 4> &getTestConfigs();
} // namespace cl
} // namespace mathtest

#endif // MATHTEST_COMMANDLINEEXTRAS_HPP