//===- unittests/SPIRV/SpirvTestOptions.h ----- Command Line Options ------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file declares the command line options that can be passed to SPIR-V
// gtests. This file should be included in any test file that intends to use any
// options.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_UNITTESTS_SPIRV_TEST_OPTIONS_H
#define LLVM_CLANG_UNITTESTS_SPIRV_TEST_OPTIONS_H

#define DEFAULT_TEST_DIR "@SPIRV_TEST_DATA_DIR@"

#include <string>

namespace clang {
namespace spirv {

/// \brief Includes any command line options that may be passed to gtest for
/// running the SPIR-V tests. New options should be added in this namespace.
namespace testOptions {

/// \brief Command line option that specifies the path to the directory that
/// contains files that have the HLSL source code and expected SPIR-V code (used
/// for the CodeGen test flow).
extern std::string inputDataDir;

} // namespace testOptions
} // namespace spirv
} // namespace clang

#endif
