diff --git a/tests/test.sh b/tests/test.sh index 484d55735368fa7ae341d63e9cb01439f511e2fe..9fe16968eee59e2854572b47ec1aa5811e071be0 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -332,9 +332,7 @@ if [ ${MODE} = "infer" ]; then export_cmd="${python} ${norm_export} ${set_export_weight} ${set_save_infer_key}" eval $export_cmd status_export=$? - if [ ${status_export} = 0 ];then - status_check $status_export "${export_cmd}" "${status_log}" - fi + status_check $status_export "${export_cmd}" "${status_log}" else save_infer_dir=${infer_model} fi