File tree Expand file tree Collapse file tree 1 file changed +17
-22
lines changed
Expand file tree Collapse file tree 1 file changed +17
-22
lines changed Original file line number Diff line number Diff line change @@ -188,27 +188,22 @@ test_xla() {
188188 assert_git_not_dirty
189189}
190190
191- if [ -z " ${BUILD_ENVIRONMENT} " ] || [[ " ${BUILD_ENVIRONMENT} " == * -test ]]; then
192- if [[ " ${BUILD_ENVIRONMENT} " == * xla* ]]; then
193- test_torchvision
194- test_xla
195- else
196- test_torchvision
197- test_python_nn
198- test_python_all_except_nn
199- test_aten
200- test_libtorch
201- test_custom_script_ops
202- fi
191+ if [[ " ${BUILD_ENVIRONMENT} " == * xla* ]]; then
192+ test_torchvision
193+ test_xla
194+ elif [[ " ${BUILD_ENVIRONMENT} " == * -test1 ]]; then
195+ test_torchvision
196+ test_python_nn
197+ elif [[ " ${BUILD_ENVIRONMENT} " == * -test2 ]]; then
198+ test_python_all_except_nn
199+ test_aten
200+ test_libtorch
201+ test_custom_script_ops
203202else
204- if [[ " ${BUILD_ENVIRONMENT} " == * -test1 ]]; then
205- test_torchvision
206- test_python_nn
207- elif [[ " ${BUILD_ENVIRONMENT} " == * -test2 ]]; then
208- test_torchvision
209- test_python_all_except_nn
210- test_aten
211- test_libtorch
212- test_custom_script_ops
213- fi
203+ test_torchvision
204+ test_python_nn
205+ test_python_all_except_nn
206+ test_aten
207+ test_libtorch
208+ test_custom_script_ops
214209fi
You can’t perform that action at this time.
0 commit comments