mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Dates corrected in copyright headers to reflect original publication date (2018 for OpenCL, 2020 for Level Zero). Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
38 lines
1.0 KiB
C++
38 lines
1.0 KiB
C++
/*
|
|
* Copyright (C) 2018-2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/offline_compiler/source/multi_command.h"
|
|
#include "shared/offline_compiler/source/offline_compiler.h"
|
|
|
|
#include "gtest/gtest.h"
|
|
|
|
#include <cstdint>
|
|
#include <memory>
|
|
|
|
namespace NEO {
|
|
|
|
class OfflineCompilerTests : public ::testing::Test {
|
|
public:
|
|
OfflineCompiler *pOfflineCompiler = nullptr;
|
|
int retVal = OfflineCompiler::ErrorCode::SUCCESS;
|
|
std::unique_ptr<OclocArgHelper> oclocArgHelperWithoutInput = std::make_unique<OclocArgHelper>();
|
|
};
|
|
|
|
class MultiCommandTests : public ::testing::Test {
|
|
public:
|
|
void createFileWithArgs(const std::vector<std::string> &, int numOfBuild);
|
|
void deleteFileWithArgs();
|
|
void deleteOutFileList();
|
|
MultiCommand *pMultiCommand = nullptr;
|
|
std::string nameOfFileWithArgs;
|
|
std::string outFileList;
|
|
int retVal = OfflineCompiler::ErrorCode::SUCCESS;
|
|
std::unique_ptr<OclocArgHelper> oclocArgHelperWithoutInput = std::make_unique<OclocArgHelper>();
|
|
};
|
|
} // namespace NEO
|