You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 2.2 kB

5 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. include(GoogleTest)
  2. SET(DE_UT_SRCS
  3. common/common.cc
  4. common/cvop_common.cc
  5. batch_op_test.cc
  6. bit_functions_test.cc
  7. storage_container_test.cc
  8. treap_test.cc
  9. interrupt_test.cc
  10. image_folder_op_test.cc
  11. buddy_test.cc
  12. arena_test.cc
  13. btree_test.cc
  14. center_crop_op_test.cc
  15. change_mode_test.cc
  16. channel_swap_test.cc
  17. circular_pool_test.cc
  18. client_config_test.cc
  19. connector_test.cc
  20. datatype_test.cc
  21. decode_op_test.cc
  22. execution_tree_test.cc
  23. global_context_test.cc
  24. main_test.cc
  25. map_op_test.cc
  26. mind_record_op_test.cc
  27. memory_pool_test.cc
  28. normalize_op_test.cc
  29. one_hot_op_test.cc
  30. path_test.cc
  31. project_op_test.cc
  32. queue_test.cc
  33. random_crop_op_test.cc
  34. random_crop_decode_resize_op_test.cc
  35. random_crop_and_resize_op_test.cc
  36. random_color_adjust_op_test.cc
  37. random_horizontal_flip_op_test.cc
  38. random_resize_op_test.cc
  39. random_rotation_op_test.cc
  40. random_vertical_flip_op_test.cc
  41. rename_op_test.cc
  42. repeat_op_test.cc
  43. skip_op_test.cc
  44. rescale_op_test.cc
  45. resize_bilinear_op_test.cc
  46. resize_op_test.cc
  47. shuffle_op_test.cc
  48. stand_alone_samplers_test.cc
  49. status_test.cc
  50. storage_op_test.cc
  51. task_manager_test.cc
  52. tensor_test.cc
  53. tensorshape_test.cc
  54. tfReader_op_test.cc
  55. to_float16_op_test.cc
  56. type_cast_op_test.cc
  57. zip_op_test.cc
  58. random_resize_op_test.cc
  59. subset_random_sampler_test.cc
  60. weighted_random_sampler_test.cc
  61. mnist_op_test.cc
  62. manifest_op_test.cc
  63. voc_op_test.cc
  64. cifar_op_test.cc
  65. celeba_op_test.cc
  66. take_op_test.cc
  67. text_file_op_test.cc)
  68. filter_op_test.cc
  69. )
  70. add_executable(de_ut_tests ${DE_UT_SRCS})
  71. set_target_properties(de_ut_tests PROPERTIES INSTALL_RPATH "$ORIGIN/../lib:$ORIGIN/../lib64")
  72. target_link_libraries(de_ut_tests PRIVATE _c_dataengine pybind11::embed ${GTEST_LIBRARY} ${SECUREC_LIBRARY} ${SLOG_LIBRARY})
  73. gtest_discover_tests(de_ut_tests WORKING_DIRECTORY ${Project_DIR}/tests/dataset)
  74. install(TARGETS de_ut_tests
  75. RUNTIME DESTINATION test)
  76. # For internal testing only.
  77. install(DIRECTORY ${Project_DIR}/tests/dataset/data/
  78. DESTINATION test/data)