Skip to content

Commit

Permalink
[PIR] Fix typo set_pit_tests_properties -> `set_pir_tests_propertie…
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo authored and yinfan98 committed May 7, 2024
1 parent 05a3e2c commit 9f4e3b4
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function(bash_test_modules TARGET_NAME)
endif()
endfunction()

function(set_pit_tests_properties)
function(set_pir_tests_properties)
file(STRINGS "${CMAKE_SOURCE_DIR}/test/white_list/pir_op_test_white_list"
PIR_OP_TESTS)
foreach(IR_OP_TEST ${PIR_OP_TESTS})
Expand Down Expand Up @@ -299,6 +299,6 @@ if(${len} GREATER_EQUAL 1)
add_dependencies(build_tests ${test_names})
endif()

set_pit_tests_properties()
set_pir_tests_properties()

add_subdirectory(deprecated)
2 changes: 1 addition & 1 deletion test/auto_parallel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,4 @@ endif()
py_test_modules(test_job_schedule_profiler_range MODULES
test_job_schedule_profiler_range)

set_pit_tests_properties()
set_pir_tests_properties()
4 changes: 2 additions & 2 deletions test/deprecated/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function(bash_test_modules TARGET_NAME)
endif()
endfunction()

function(set_pit_tests_properties)
function(set_pir_tests_properties)
file(STRINGS "${CMAKE_SOURCE_DIR}/test/white_list/pir_op_test_white_list"
PIR_OP_TESTS)
foreach(IR_OP_TEST ${PIR_OP_TESTS})
Expand Down Expand Up @@ -164,4 +164,4 @@ if(WITH_TESTING)

endif()

set_pit_tests_properties()
set_pir_tests_properties()
2 changes: 1 addition & 1 deletion test/deprecated/distribution/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ foreach(TEST_OP ${TEST_OPS})
py_test_modules(${TEST_OP} MODULES ${TEST_OP})
endforeach()

set_pit_tests_properties()
set_pir_tests_properties()
2 changes: 1 addition & 1 deletion test/deprecated/fft/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ foreach(TEST_OP ${TEST_OPS})
py_test_modules(${TEST_OP} MODULES ${TEST_OP})
endforeach()

set_pit_tests_properties()
set_pir_tests_properties()
2 changes: 1 addition & 1 deletion test/deprecated/legacy_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ py_test_modules(test_stride MODULES test_stride ENVS
FLAGS_use_stride_kernel=true)

set_tests_properties(test_linalg_matrix_exp PROPERTIES TIMEOUT 120)
set_pit_tests_properties()
set_pir_tests_properties()

set_tests_properties(test_fractional_max_pool2d_op PROPERTIES TIMEOUT 120)
set_tests_properties(test_fractional_max_pool3d_op PROPERTIES TIMEOUT 120)
Expand Down
2 changes: 1 addition & 1 deletion test/distribution/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ foreach(TEST_OP ${TEST_OPS})
py_test_modules(${TEST_OP} MODULES ${TEST_OP})
endforeach()

set_pit_tests_properties()
set_pir_tests_properties()
2 changes: 1 addition & 1 deletion test/fft/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ foreach(TEST_OP ${TEST_OPS})
py_test_modules(${TEST_OP} MODULES ${TEST_OP})
endforeach()

set_pit_tests_properties()
set_pir_tests_properties()
2 changes: 1 addition & 1 deletion test/legacy_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1054,4 +1054,4 @@ if((WITH_ROCM OR WITH_GPU) AND NOT WIN32)
PROPERTIES ENVIRONMENT "FLAGS_new_executor_micro_batching=False")
endif()

set_pit_tests_properties()
set_pir_tests_properties()
2 changes: 1 addition & 1 deletion test/mkldnn/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ if(WITH_ONEDNN AND NOT WIN32)
endif()
# set_tests_properties(test_flags_mkldnn_ops_on_off PROPERTIES TIMEOUT 120)

set_pit_tests_properties()
set_pir_tests_properties()

0 comments on commit 9f4e3b4

Please sign in to comment.