Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PIR] Fix typo set_pit_tests_properties -> set_pir_tests_properties #64063

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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()