Files
OpenCL-CTS/test_conformance/images/clCopyImage/CMakeLists.txt
Bhargav Das 2c0abd3f75 Fixed test runner files and output binary files (#464)
Put "run_conformance.py" and all test runner files ".csv" in build directory

Put "run_conformance.py" and all test runner files ".csv" in build directory
Added steps in CMakeLists.txt to copy the ".csv" files and "run_conformance.py" from 'test_conformance' directory

Signed-off-by: bhargavthriler <bhargavthriler@gmail.com>

cl12: change binary names to aligned with the test runner files

Changed output binary names to match with the test runner files .csv files

Signed-off-by: bhargavthriler <bhargavthriler@gmail.com>

Removed relative paths, changed comment style

Removed relative paths and replaced with CMake variables
Changed comment style to match with remaining comment style to maintain consistency

changed destination relative path with cmake variable

Signed-off-by: bhargavthriler <bhargavthriler@gmail.com>

fixed binary name in test runner files

Signed-off-by: bhargavthriler <bhargavthriler@gmail.com>
2020-01-10 15:12:11 +00:00

55 lines
1.6 KiB
CMake

add_executable(test_cl_copy_images
main.cpp
test_copy_generic.cpp
test_copy_1D.cpp
test_copy_2D.cpp
../image_helpers.cpp
test_loops.cpp
test_copy_3D.cpp
test_copy_1D_array.cpp
test_copy_2D_array.cpp
test_copy_2D_3D.cpp
test_copy_2D_2D_array.cpp
test_copy_3D_2D_array.cpp
../../../test_common/harness/errorHelpers.c
../../../test_common/harness/threadTesting.c
../../../test_common/harness/kernelHelpers.c
../../../test_common/harness/imageHelpers.cpp
../../../test_common/harness/conversions.c
../../../test_common/harness/testHarness.c
../../../test_common/harness/typeWrappers.cpp
../../../test_common/harness/mt19937.c
../../../test_common/harness/msvc9.c)
set_source_files_properties(
main.cpp
test_copy_generic.cpp
test_copy_1D.cpp
test_copy_2D.cpp
../image_helpers.cpp
test_loops.cpp
test_copy_3D.cpp
test_copy_1D_array.cpp
test_copy_2D_array.cpp
test_copy_2D_3D.cpp
test_copy_2D_2D_array.cpp
test_copy_3D_2D_array.cpp
../../../test_common/harness/errorHelpers.c
../../../test_common/harness/threadTesting.c
../../../test_common/harness/kernelHelpers.c
../../../test_common/harness/imageHelpers.cpp
../../../test_common/harness/conversions.c
../../../test_common/harness/testHarness.c
../../../test_common/harness/typeWrappers.cpp
../../../test_common/harness/mt19937.c
../../../test_common/harness/msvc9.c
PROPERTIES LANGUAGE CXX)
TARGET_LINK_LIBRARIES(test_cl_copy_images
${CLConform_LIBRARIES})
add_dependencies(OpenCLCTS test_cl_copy_images)
install(TARGETS test_cl_copy_images
DESTINATION "${CLConf_OUT_DIR}"
COMPONENT OpenCLCTS)