|
74 | 74 | python run_test_with_skip.py \ |
75 | 75 | 2> ${{ github.workspace }}/ut_log/op_ut/op_ut_with_skip_test_error.log | \ |
76 | 76 | tee ${{ github.workspace }}/ut_log/op_ut/op_ut_with_skip_test.log |
77 | | - ls -al |
78 | | - cp *.xml ${{ github.workspace }}/ut_log |
79 | | - find op_ut_with_skip.nn op_ut_with_skip.quantization/core op_ut_with_all.functorch -type f -exec sh -c ' |
80 | | - dir_path=$(dirname "$1"); |
81 | | - case "$dir_path" in |
82 | | - *"op_ut_with_skip.quantization/core"*) |
83 | | - dir_name="op_ut_with_skip.quantization.core";; |
84 | | - *"op_ut_with_all.functorch"*) |
85 | | - dir_name="op_ut_with_all.functorch";; |
86 | | - *) |
87 | | - dir_name="op_ut_with_skip.nn";; |
88 | | - esac; |
89 | | - mv "$1" "$dir_path/${dir_name}.$(basename "$1")" |
90 | | - ' _ {} \; |
91 | | - ls -al op_ut_with_skip.nn op_ut_with_skip.quantization/core op_ut_with_all.functorch |
92 | | - cp op_ut_with_skip.nn/*.xml ${{ github.workspace }}/ut_log |
93 | | - cp op_ut_with_skip.quantization/core/*.xml ${{ github.workspace }}/ut_log |
94 | | - cp op_ut_with_all.functorch/*.xml ${{ github.workspace }}/ut_log |
95 | | - # Cases run with a on-demand white list, since some suites are too |
96 | | - # slow to go through all operators on CPU. So add cases on-demand |
97 | | - # when XPU implementatoin is done. |
98 | | - # test_foreach, test_decomp |
99 | | - # Run with only |
100 | | - python run_test_with_only.py \ |
101 | | - 2> ${{ github.workspace }}/ut_log/op_ut/op_ut_with_only_test_error.log | \ |
102 | | - tee ${{ github.workspace }}/ut_log/op_ut/op_ut_with_only_test.log |
103 | | - ls -al |
104 | | - cp *.xml ${{ github.workspace }}/ut_log |
| 77 | + find . -type f -name "op_ut_with_*.xml" -exec mv {} ${{ github.workspace }}/ut_log/ \; |
105 | 78 | echo -e "File Path: cd pytorch/third_party/torch-xpu-ops/test/xpu" | tee -a ${{ github.workspace }}/ut_log/reproduce_op_ut.log |
106 | 79 | echo -e "Reproduce Command: pytest -sv failed_case" | tee -a ${{ github.workspace }}/ut_log/reproduce_op_ut.log |
107 | 80 | - name: skipped_ut |
|
0 commit comments