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:
Bhargav Das
2020-01-10 20:42:11 +05:30
committed by Kévin Petit
parent db585e1fd0
commit 2c0abd3f75
41 changed files with 224 additions and 214 deletions

View File

@@ -1,4 +1,4 @@
add_executable(conformance_test_integer_ops
add_executable(test_integer_ops
main.c
test_popcount.c
test_int_basic_ops.c
@@ -64,10 +64,10 @@ set_source_files_properties(
endif()
endif (NOT CMAKE_CL_64 AND NOT MSVC)
TARGET_LINK_LIBRARIES(conformance_test_integer_ops
TARGET_LINK_LIBRARIES(test_integer_ops
${CLConform_LIBRARIES})
add_dependencies(OpenCLCTS conformance_test_integer_ops)
install(TARGETS conformance_test_integer_ops
add_dependencies(OpenCLCTS test_integer_ops)
install(TARGETS test_integer_ops
DESTINATION "${CLConf_OUT_DIR}"
COMPONENT OpenCLCTS)