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.9 kB

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