Skip to content

Commit d730da7

Browse files
【Fix PIR Unittest No.28,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,48,49,50】Fix some test case in PIR (#65440)
* pir fix prim
1 parent 4d12653 commit d730da7

29 files changed

+156
-142
lines changed

test/deprecated/prim/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ endforeach()
1111
add_subdirectory(prim)
1212
add_subdirectory(composite_ops)
1313
add_subdirectory(process)
14-
add_subdirectory(pir_prim)

test/deprecated/prim/composite_ops/CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ foreach(TEST_OP ${TEST_OPS})
99
py_test_modules(${TEST_OP} MODULES ${TEST_OP} ENVS ${GC_ENVS})
1010
endforeach()
1111

12-
set_tests_properties(test_composite_batch_norm PROPERTIES TIMEOUT 120)
12+
set_tests_properties(test_composite_batch_norm_deprecated PROPERTIES TIMEOUT
13+
120)
14+
set_tests_properties(test_composite_mean_grad_deprecated PROPERTIES TIMEOUT 120)
1315
if(LINUX)
14-
set_tests_properties(test_composite_batch_norm_grad PROPERTIES TIMEOUT 120)
16+
set_tests_properties(test_composite_batch_norm_grad_deprecated
17+
PROPERTIES TIMEOUT 120)
1518
endif()

0 commit comments

Comments
 (0)