diff --git a/tests/test.sh b/tests/test.sh index 7398ff6a6db151596db128643b55fa99b7207f6b..3a40182e4d85de60654f7ca9fb29ecb429a78e32 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -182,7 +182,7 @@ function func_inference(){ if [ ${use_trt} = "False" ] && [ ${precision} != "fp32" ]; then continue fi - if [ ${use_trt} = "False" || ${precision} != "int8"] && [ ${_flag_quant} = "True" ]; then + if [[ ${use_trt} = "False" || ${precision} != "int8" ]] && [ ${_flag_quant} = "True" ]; then continue fi for batch_size in ${batch_size_list[*]}; do