mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Move test configuration files to shared/common directory
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
128c994821
commit
f883376e61
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "test_mode.h"
|
||||
|
||||
namespace NEO {
|
||||
// max time per single test iteration
|
||||
unsigned int ultIterationMaxTime = 180;
|
||||
bool useMockGmm = false;
|
||||
const char *executionDirectorySuffix = "_aub";
|
||||
TestMode testMode = defaultTestMode;
|
||||
} // namespace NEO
|
||||
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
struct AubTestsConfig {
|
||||
bool testCanonicalAddress;
|
||||
};
|
||||
|
||||
template <typename GfxFamily>
|
||||
AubTestsConfig GetAubTestsConfig();
|
||||
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "shared/test/common/test_configuration/aub_tests/aub_tests_configuration.h"
|
||||
|
||||
template <typename GfxFamily>
|
||||
AubTestsConfig GetAubTestsConfig() {
|
||||
AubTestsConfig aubTestsConfig;
|
||||
aubTestsConfig.testCanonicalAddress = true;
|
||||
return aubTestsConfig;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "test_mode.h"
|
||||
|
||||
namespace NEO {
|
||||
unsigned int ultIterationMaxTime = 45;
|
||||
bool useMockGmm = true;
|
||||
const char *executionDirectorySuffix = "";
|
||||
TestMode testMode = defaultTestMode;
|
||||
} // namespace NEO
|
||||
@@ -59,12 +59,12 @@ if(NOT SKIP_UNIT_TESTS)
|
||||
${NEO_SOURCE_DIR}/opencl/test/unit_test/mocks/mock_platform.cpp
|
||||
${NEO_SOURCE_DIR}/opencl/test/unit_test/test_macros/test_checks_ocl.cpp
|
||||
${NEO_SOURCE_DIR}/opencl/test/unit_test/ult_config_listener.cpp
|
||||
${NEO_SOURCE_DIR}/opencl/test/unit_test/ult_configuration.cpp
|
||||
${NEO_SOURCE_DIR}/shared/source/helpers/allow_deferred_deleter.cpp
|
||||
${NEO_SOURCE_DIR}/shared/test/common/helpers/api_specific_config_shared_tests.cpp
|
||||
${NEO_SOURCE_DIR}/shared/test/common/helpers/memory_leak_listener.cpp
|
||||
${NEO_SOURCE_DIR}/shared/test/common/helpers/memory_management.cpp
|
||||
${NEO_SOURCE_DIR}/shared/test/common/test_macros/test_checks_shared.cpp
|
||||
${NEO_SHARED_TEST_DIRECTORY}/common/test_configuration/unit_tests/ult_configuration.cpp
|
||||
$<TARGET_OBJECTS:mock_gmm>
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user