| 1 |
//===----------------------------------------------------------------------===// |
| 2 |
// |
| 3 |
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 |
// See https://llvm.org/LICENSE.txt for license information. |
| 5 |
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 |
// |
| 7 |
//===----------------------------------------------------------------------===// |
| 8 |
/// |
| 9 |
/// \file |
| 10 |
/// This file contains the declaration of the command-line options and the main |
| 11 |
/// interface for selecting test configurations. |
| 12 |
/// |
| 13 |
//===----------------------------------------------------------------------===// |
| 14 |
|
| 15 |
#ifndef MATHTEST_COMMANDLINEEXTRAS_HPP |
| 16 |
#define MATHTEST_COMMANDLINEEXTRAS_HPP |
| 17 |
|
| 18 |
#include "mathtest/CommandLine.hpp" |
| 19 |
#include "mathtest/TestConfig.hpp" |
| 20 |
|
| 21 |
#include "llvm/ADT/SmallVector.h" |
| 22 |
#include "llvm/Support/CommandLine.h" |
| 23 |
|
| 24 |
namespace mathtest { |
| 25 |
namespace cl { |
| 26 |
|
| 27 |
extern llvm::cl::opt<bool> IsVerbose; |
| 28 |
|
| 29 |
namespace detail { |
| 30 |
|
| 31 |
extern llvm::cl::opt<llvm::cl::TestConfigsArg> TestConfigsOpt; |
| 32 |
} // namespace detail |
| 33 |
|
| 34 |
const llvm::SmallVector<TestConfig, 4> &getTestConfigs(); |
| 35 |
} // namespace cl |
| 36 |
} // namespace mathtest |
| 37 |
|
| 38 |
#endif // MATHTEST_COMMANDLINEEXTRAS_HPP |