mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-21 23:09:01 +00:00
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>
This commit is contained in:
@@ -1,82 +1,82 @@
|
||||
add_executable(conformance_test_headers
|
||||
add_executable(test_headers
|
||||
test_headers.c
|
||||
)
|
||||
|
||||
add_executable(conformance_test_cl_h
|
||||
add_executable(test_cl_h
|
||||
test_cl.h.c
|
||||
)
|
||||
|
||||
add_executable(conformance_test_cl_platform_h
|
||||
add_executable(test_cl_platform_h
|
||||
test_cl_platform.h.c
|
||||
)
|
||||
|
||||
add_executable(conformance_test_cl_gl_h
|
||||
add_executable(test_cl_gl_h
|
||||
test_cl_gl.h.c
|
||||
)
|
||||
|
||||
add_executable(conformance_test_opencl_h
|
||||
add_executable(test_opencl_h
|
||||
test_opencl.h.c
|
||||
)
|
||||
|
||||
add_executable(conformance_test_cl_h_c99
|
||||
add_executable(test_cl_h_c99
|
||||
test_cl.h.c
|
||||
)
|
||||
|
||||
add_executable(conformance_test_cl_platform_h_c99
|
||||
add_executable(test_cl_platform_h_c99
|
||||
test_cl_platform.h.c
|
||||
)
|
||||
|
||||
add_executable(conformance_test_cl_gl_h_c99
|
||||
add_executable(test_cl_gl_h_c99
|
||||
test_cl_gl.h.c
|
||||
)
|
||||
|
||||
add_executable(conformance_test_opencl_h_c99
|
||||
add_executable(test_opencl_h_c99
|
||||
test_opencl.h.c
|
||||
)
|
||||
|
||||
set_target_properties(conformance_test_cl_h_c99
|
||||
conformance_test_cl_platform_h_c99
|
||||
conformance_test_cl_gl_h_c99
|
||||
conformance_test_opencl_h_c99
|
||||
set_target_properties(test_cl_h_c99
|
||||
test_cl_platform_h_c99
|
||||
test_cl_gl_h_c99
|
||||
test_opencl_h_c99
|
||||
PROPERTIES COMPILE_FLAGS "-std=c99"
|
||||
)
|
||||
|
||||
TARGET_LINK_LIBRARIES(conformance_test_headers
|
||||
TARGET_LINK_LIBRARIES(test_headers
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
TARGET_LINK_LIBRARIES(conformance_test_cl_h
|
||||
TARGET_LINK_LIBRARIES(test_cl_h
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
TARGET_LINK_LIBRARIES(conformance_test_cl_platform_h
|
||||
TARGET_LINK_LIBRARIES(test_cl_platform_h
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
TARGET_LINK_LIBRARIES(conformance_test_cl_gl_h
|
||||
TARGET_LINK_LIBRARIES(test_cl_gl_h
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
TARGET_LINK_LIBRARIES(conformance_test_opencl_h
|
||||
TARGET_LINK_LIBRARIES(test_opencl_h
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
TARGET_LINK_LIBRARIES(conformance_test_cl_h_c99
|
||||
TARGET_LINK_LIBRARIES(test_cl_h_c99
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
TARGET_LINK_LIBRARIES(conformance_test_cl_platform_h_c99
|
||||
TARGET_LINK_LIBRARIES(test_cl_platform_h_c99
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
TARGET_LINK_LIBRARIES(conformance_test_cl_gl_h_c99
|
||||
TARGET_LINK_LIBRARIES(test_cl_gl_h_c99
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
TARGET_LINK_LIBRARIES(conformance_test_opencl_h_c99
|
||||
TARGET_LINK_LIBRARIES(test_opencl_h_c99
|
||||
${CLConform_LIBRARIES})
|
||||
|
||||
add_dependencies(OpenCLCTS conformance_test_headers conformance_test_cl_h
|
||||
conformance_test_cl_platform_h conformance_test_cl_gl_h
|
||||
conformance_test_opencl_h conformance_test_cl_h_c99
|
||||
conformance_test_cl_platform_h_c99 conformance_test_cl_gl_h_c99
|
||||
conformance_test_opencl_h_c99)
|
||||
install(TARGETS conformance_test_headers conformance_test_cl_h
|
||||
conformance_test_cl_platform_h conformance_test_cl_gl_h
|
||||
conformance_test_opencl_h conformance_test_cl_h_c99
|
||||
conformance_test_cl_platform_h_c99 conformance_test_cl_gl_h_c99
|
||||
conformance_test_opencl_h_c99
|
||||
add_dependencies(OpenCLCTS test_headers test_cl_h
|
||||
test_cl_platform_h test_cl_gl_h
|
||||
test_opencl_h test_cl_h_c99
|
||||
test_cl_platform_h_c99 test_cl_gl_h_c99
|
||||
test_opencl_h_c99)
|
||||
install(TARGETS test_headers test_cl_h
|
||||
test_cl_platform_h test_cl_gl_h
|
||||
test_opencl_h test_cl_h_c99
|
||||
test_cl_platform_h_c99 test_cl_gl_h_c99
|
||||
test_opencl_h_c99
|
||||
DESTINATION "${CLConf_OUT_DIR}"
|
||||
COMPONENT OpenCLCTS)
|
||||
|
||||
Reference in New Issue
Block a user