mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-21 14:59:02 +00:00
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>
74 lines
2.1 KiB
CMake
74 lines
2.1 KiB
CMake
add_executable(test_integer_ops
|
|
main.c
|
|
test_popcount.c
|
|
test_int_basic_ops.c
|
|
test_integers.cpp
|
|
test_upsample.cpp
|
|
test_intmul24.c test_intmad24.c
|
|
test_sub_sat.c test_add_sat.c
|
|
test_abs.c test_absdiff.c
|
|
test_unary_ops.cpp
|
|
verification_and_generation_functions.c
|
|
../../test_common/harness/conversions.c
|
|
../../test_common/harness/errorHelpers.c
|
|
../../test_common/harness/threadTesting.c
|
|
../../test_common/harness/testHarness.c
|
|
../../test_common/harness/mt19937.c
|
|
../../test_common/harness/msvc9.c
|
|
../../test_common/harness/ThreadPool.c
|
|
../../test_common/harness/kernelHelpers.c
|
|
)
|
|
|
|
set_source_files_properties(
|
|
main.c
|
|
test_popcount.c
|
|
test_int_basic_ops.c
|
|
test_integers.cpp
|
|
test_upsample.cpp
|
|
test_intmul24.c test_intmad24.c
|
|
test_sub_sat.c test_add_sat.c
|
|
test_abs.c test_absdiff.c
|
|
test_unary_ops.cpp
|
|
verification_and_generation_functions.c
|
|
../../test_common/harness/conversions.c
|
|
../../test_common/harness/errorHelpers.c
|
|
../../test_common/harness/threadTesting.c
|
|
../../test_common/harness/testHarness.c
|
|
../../test_common/harness/mt19937.c
|
|
../../test_common/harness/msvc9.c
|
|
../../test_common/harness/ThreadPool.c
|
|
../../test_common/harness/kernelHelpers.c
|
|
PROPERTIES LANGUAGE CXX)
|
|
|
|
if (NOT CMAKE_CL_64 AND NOT MSVC)
|
|
if(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86$)|(X86$)" AND NOT MSVC)
|
|
set_source_files_properties(
|
|
main.c
|
|
test_popcount.c
|
|
test_int_basic_ops.c
|
|
test_integers.cpp
|
|
test_upsample.cpp
|
|
test_intmul24.c test_intmad24.c
|
|
test_sub_sat.c test_add_sat.c
|
|
test_abs.c test_absdiff.c
|
|
test_unary_ops.cpp
|
|
verification_and_generation_functions.c
|
|
../../test_common/harness/conversions.c
|
|
../../test_common/harness/errorHelpers.c
|
|
../../test_common/harness/threadTesting.c
|
|
../../test_common/harness/testHarness.c
|
|
../../test_common/harness/mt19937.c
|
|
../../test_common/harness/ThreadPool.c
|
|
../../test_common/harness/kernelHelpers.c
|
|
COMPILE_FLAGS -march=i686)
|
|
endif()
|
|
endif (NOT CMAKE_CL_64 AND NOT MSVC)
|
|
|
|
TARGET_LINK_LIBRARIES(test_integer_ops
|
|
${CLConform_LIBRARIES})
|
|
|
|
add_dependencies(OpenCLCTS test_integer_ops)
|
|
install(TARGETS test_integer_ops
|
|
DESTINATION "${CLConf_OUT_DIR}"
|
|
COMPONENT OpenCLCTS)
|