[test]: Skip error opt on parsing parameter

Change-Id: Ia5935b55bf0a09158b4ebd40656de6e813e880c4
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2019-10-10 15:42:00 +08:00
parent cd5b1ccde6
commit 37602b5bb9
5 changed files with 5 additions and 5 deletions

View File

@@ -564,7 +564,7 @@ static RK_S32 mpi_dec_test_parse_options(int argc, char **argv, MpiDecTestCmd* c
} }
break; break;
default: default:
goto PARSE_OPINIONS_OUT; mpp_err("skip invalid opt %c\n", *opt);
break; break;
} }

View File

@@ -720,7 +720,7 @@ static RK_S32 mpi_dec_multi_test_parse_options(int argc, char **argv, MpiDecTest
goto PARSE_OPINIONS_OUT; goto PARSE_OPINIONS_OUT;
} }
default: default:
goto PARSE_OPINIONS_OUT; mpp_err("skip invalid opt %c\n", *opt);
break; break;
} }

View File

@@ -864,7 +864,7 @@ static RK_S32 mpi_dec_test_parse_options(int argc, char **argv, MpiDecTestCmd* c
} }
break; break;
default: default:
goto PARSE_OPINIONS_OUT; mpp_err("skip invalid opt %c\n", *opt);
break; break;
} }

View File

@@ -991,7 +991,7 @@ static RK_S32 mpi_enc_test_parse_options(int argc, char **argv, MpiEncTestCmd* c
goto PARSE_OPINIONS_OUT; goto PARSE_OPINIONS_OUT;
} }
default: default:
goto PARSE_OPINIONS_OUT; mpp_err("skip invalid opt %c\n", *opt);
break; break;
} }

View File

@@ -633,7 +633,7 @@ static RK_S32 mpi_enc_test_parse_options(int argc, char **argv, MpiEncTestCmd* c
} }
break; break;
default: default:
goto PARSE_OPINIONS_OUT; mpp_err("skip invalid opt %c\n", *opt);
break; break;
} }