From f2cf2a7e3f3dfe910e16e8ed8bfadce4198fa2e7 Mon Sep 17 00:00:00 2001 From: SigureMo Date: Tue, 7 May 2024 00:27:45 +0800 Subject: [PATCH] [typo] `set_pit_tests_properties` -> `set_pir_tests_properties` --- test/CMakeLists.txt | 4 ++-- test/auto_parallel/CMakeLists.txt | 2 +- test/deprecated/CMakeLists.txt | 4 ++-- test/deprecated/distribution/CMakeLists.txt | 2 +- test/deprecated/fft/CMakeLists.txt | 2 +- test/deprecated/legacy_test/CMakeLists.txt | 2 +- test/distribution/CMakeLists.txt | 2 +- test/fft/CMakeLists.txt | 2 +- test/legacy_test/CMakeLists.txt | 2 +- test/mkldnn/CMakeLists.txt | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 0250acb89dccc3..c7add4988b09d2 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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}) @@ -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) diff --git a/test/auto_parallel/CMakeLists.txt b/test/auto_parallel/CMakeLists.txt index 34e5b5f651ce75..1cc785ba549b41 100644 --- a/test/auto_parallel/CMakeLists.txt +++ b/test/auto_parallel/CMakeLists.txt @@ -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() diff --git a/test/deprecated/CMakeLists.txt b/test/deprecated/CMakeLists.txt index 02f1a575411e4e..ffaf747a547d08 100644 --- a/test/deprecated/CMakeLists.txt +++ b/test/deprecated/CMakeLists.txt @@ -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}) @@ -164,4 +164,4 @@ if(WITH_TESTING) endif() -set_pit_tests_properties() +set_pir_tests_properties() diff --git a/test/deprecated/distribution/CMakeLists.txt b/test/deprecated/distribution/CMakeLists.txt index 27449f890fb3f3..21e9932d463b68 100644 --- a/test/deprecated/distribution/CMakeLists.txt +++ b/test/deprecated/distribution/CMakeLists.txt @@ -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() diff --git a/test/deprecated/fft/CMakeLists.txt b/test/deprecated/fft/CMakeLists.txt index 2839c2ea7231fc..a31ec8e1f21370 100644 --- a/test/deprecated/fft/CMakeLists.txt +++ b/test/deprecated/fft/CMakeLists.txt @@ -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() diff --git a/test/deprecated/legacy_test/CMakeLists.txt b/test/deprecated/legacy_test/CMakeLists.txt index a42dcc42f8939a..4968e979a137ad 100644 --- a/test/deprecated/legacy_test/CMakeLists.txt +++ b/test/deprecated/legacy_test/CMakeLists.txt @@ -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) diff --git a/test/distribution/CMakeLists.txt b/test/distribution/CMakeLists.txt index 2839c2ea7231fc..a31ec8e1f21370 100644 --- a/test/distribution/CMakeLists.txt +++ b/test/distribution/CMakeLists.txt @@ -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() diff --git a/test/fft/CMakeLists.txt b/test/fft/CMakeLists.txt index 2839c2ea7231fc..a31ec8e1f21370 100644 --- a/test/fft/CMakeLists.txt +++ b/test/fft/CMakeLists.txt @@ -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() diff --git a/test/legacy_test/CMakeLists.txt b/test/legacy_test/CMakeLists.txt index 82929dd6446341..3c658b8c7c6e91 100644 --- a/test/legacy_test/CMakeLists.txt +++ b/test/legacy_test/CMakeLists.txt @@ -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() diff --git a/test/mkldnn/CMakeLists.txt b/test/mkldnn/CMakeLists.txt index 4dcf8d7ff2ca47..74b6b107b573ef 100644 --- a/test/mkldnn/CMakeLists.txt +++ b/test/mkldnn/CMakeLists.txt @@ -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()